Recent Topics

1 Feb 07, 2012 06:36    

My b2evolution Version: 4.1.x

http://66.114.41.197/index.php/Products-and-Services/

The "Test Nivo Slider" widget in the bottom right is supposed to be rotating 3 images but for some reason it's not. I've copied the method from this site: http://desrosiersconstruction.org/index.php/home/ but it's still not working. Ideas anyone?

2 Feb 07, 2012 19:43

Instead of using "packed" version, try including the normal js file.
Are you positive that version of nivo works (compatible) with that version of jquery ?

3 Feb 07, 2012 19:57

I'm not sure what you mean by packed vs. full. But the version is the same version I used on all the previous sites I've done (I kept the folder with all the files and just use it over and over)

***UPDATE***

Ok, I just downloaded the newest version and used the non-packed version but still get the same result

Tried the new version of the packed one, also no go

...very confused

5 Feb 08, 2012 00:27

Ok, I'm not sure how to fix though - can you provide any other info? Thanks!

6 Feb 08, 2012 02:12

Ethan5150 wrote:

Ok, I'm not sure how to fix though - can you provide any other info? Thanks!

the above is an ugly fix.Semantically you shouldnt put a div (block element) inside a li (list).

your sidebar container should be like :


				<?php
		// ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
		// Display container contents:
		skin_container( NT_('Sidebar'), array(
		// The following (optional) params will be used as defaults for widgets included in this container:
		// This will enclose each widget in a block:
		'block_start' => '<div class="$wi_class$">',
		'block_end' => '</div>',
		// This will enclose the title of each widget:
		'block_title_start' => '<h3>',
		'block_title_end' => '</h3>',
		// If a widget displays a list, this will enclose that list:
		'list_start' => '<ul>',
		'list_end' => '</ul>',
		// This will enclose each item in a list:
		'item_start' => '<li>',
		'item_end' => '</li>',
		// This will enclose sub-lists in a list:
		'group_start' => '<ul>',
		'group_end' => '</ul>',
		// This will enclose (foot)notes:
		'notes_start' => '<div class="notes">',
		'notes_end' => '</div>',
		) );
		// ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
		?>

instead you probably have sth like:

		'block_start' => '<li>',
	'block_end' => '</li>',


replace them with

		'block_start' => '<div class="$wi_class$">',
	'block_end' => '</div>',


and you should be fine.Or simply copy the whole container and replace yours.

7 Feb 09, 2012 00:27

Hmm, still no go. I'm working with an essentially stock evoCamp skin. I opened the sidebar_right.inc.php and changed this:

// This will enclose each widget in a block:
					'block_start' => '<li class="$wi_class$">',
					'block_end' => '</li>',

to this:

// This will enclose each widget in a block:
					'block_start' => '<div class="$wi_class$">',
					'block_end' => '</div>',

That moved the existing sidebar items over and together (galleries widget and Test Nivo Slider title), but the images still don't show up. I also tried pasting the entirety of the code you posted (and changing the

skin_container( NT_('Sidebar'), array(

to

skin_container( NT_('Sidebar 2'), array(

This just made the entire sidebar disappear (either way)

Any other ideas? I've never had this kind of problem with Nivo before...


Form is loading...