Page 2 of 5

Re: Nivoslider

PostPosted: Sat Jun 25, 2011 2:52 pm
by Harm10
The only thing I can see right now on your link is that all css are added with a slash in front of pivotx e.g.:
Code: Select all
<link rel="stylesheet" type="text/css" href="/pivotx/extensions/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
and nivoslider doesn't have that:
Code: Select all
<!-- CSS file for Nivo Slider -->
<link href='pivotx/extensions/nivoslider/nivo-slider.css' rel='stylesheet' type='text/css' />
Maybe a slash would help?

Also is the template tag [[ nivoslider ]] in your meta description; maybe that influences handling?
Code: Select all
<meta name="description" content=" [[ nivoslider path = &quot;images/recent&quot; cssFile = &quot;pivotx/extensions/nivoslider/nivo-slider.css&quot; orderby = &quot;date_asc&quot;  caption = 1 ]]" />

Re: Nivoslider

PostPosted: Wed Jun 29, 2011 3:06 pm
by Pim Horvers
Changed page location to http://www.pimhorvers.nl/page/testnivoslider

Can somebody help me out please?

BR, Pim

Re: Nivoslider

PostPosted: Wed Jun 29, 2011 4:47 pm
by Harm10
Your metatag is still
Code: Select all
<meta name="description" content="[[ nivoslider path = &quot;images/recent&quot; cssFile = &quot;htttpdocs/pivotx/extensions/nivoslider/nivo-slider.css&quot; orderby = &quot;date_asc&quot; caption = 1 ]]" />

and css link is now
Code: Select all
<link href='htttpdocs/pivotx/extensions/nivoslider/nivo-slider.css' rel='stylesheet' type='text/css' />
which is not correct. The css link should be corrected. Assuming the extension is in the normal folder shouldn't the parm be
Code: Select all
cssFile = "/pivotx/extensions/nivoslider/nivo-slider.css"
? But check documentation.

Re: Nivoslider

PostPosted: Wed Jun 29, 2011 5:13 pm
by Schop
1. You seem to have your [[ nivoslider ]] template tage _inside_ a <meta> tag, which may or may not cause problems.

2. Your pictures are not the same size, which is a requirement for the nivoslider to work right.

Without your template code, it's really hard to troubleshoot this. Can you post the source code of the template?

Re: Nivoslider

PostPosted: Wed Jun 29, 2011 9:19 pm
by Harm10
Schop wrote:1. You seem to have your [[ nivoslider ]] template tage _inside_ a <meta> tag, which may or may not cause problems.
You probably have SEO extension active? If you give the page its own description then it won't take part of the introduction (I guess that the nivoslider tag is in there? It should go into the template directly to be sure that the editor doesn't influence your code).

Documentation of nivoslider specifies that css can be specified like this:
Code: Select all
cssFile             = "pivotx/templates/themename/css/style.css"

and I've checked the themes site (which is multisite) and there the code is:
Code: Select all
cssFile             = "templates/themename/css/style.css"


Maybe you should first try whether putting the css into your template folder helps?
If so it could be a chmod problem......

Re: Nivoslider

PostPosted: Fri Mar 02, 2012 10:03 am
by 23WW32
I have Phoenix theme with activated Nivoslider. All work ok. But, Nivoslider is wrong (empty div without images) after trurning on full cache on site.
P.S.: PivotX - 2.3.0
Database - Flat (file database)

Re: Nivoslider

PostPosted: Fri Mar 02, 2012 10:18 am
by Harm10
A link would help....... and are you sure your version is 2.3.0 (check your dashboard lower left corner)? If so you could do with an upgrade. Latest zip file contains version 2.3.2 (and compared to 2.3.0 there are a lot of changes).

Re: Nivoslider

PostPosted: Fri Mar 02, 2012 10:34 am
by 23WW32
Harm10 wrote:A link would help....... and are you sure your version is 2.3.0 (check your dashboard lower left corner)? If so you could do with an upgrade. Latest zip file contains version 2.3.2 (and compared to 2.3.0 there are a lot of changes).

Sory, link - http://kyselgov.pp.ua and PivotX is 2.3.1 Do you recomend to update on 2.3.2 ?

Re: Nivoslider

PostPosted: Fri Mar 02, 2012 11:00 am
by 23WW32
23WW32 wrote:
Harm10 wrote:A link would help....... and are you sure your version is 2.3.0 (check your dashboard lower left corner)? If so you could do with an upgrade. Latest zip file contains version 2.3.2 (and compared to 2.3.0 there are a lot of changes).

Sory, link - http://kyselgov.pp.ua and PivotX is 2.3.1 Do you recomend to update on 2.3.2 ?



P.S. Now I had update to 2.3.2 and Nivoslider is not working ... :(
My cache settings : Use Minify in Frontend - on, Full cache - on

Re: Nivoslider

PostPosted: Fri Mar 02, 2012 12:18 pm
by Harm10
The current version of Nivoslider isn't working on my site either. I found the error in the code and will inform the author.
For the time being you have to edit snippet_nivoslider.php. On line 125 change
Code: Select all
    $(window).load(function() {
        $('#slider').nivoSlider({
to
Code: Select all
    jQuery(window).load(function($) {
        jQuery('#slider').nivoSlider({
then it should work!