Hi,

The Nivo Slider module is not working for Blogbuzz II. Here is the reply I got from the nivo slider team Devin Carlson:

I just checked out the BlogBuzz theme.

They are using a custom block.tpl.php template which doesn't use $block_html_id for block IDs. Instead, they do print $block->module . '-' . $block->delta; to generate the ID of each block.

Nivo Slider uses the block's identifier (nivo-slider) to find the correct slider to use (which helps to avoid conflicts with other Nivo Slider modules). Unfortunately, using print $block->module . '-' . $block->delta; will result in block-nivo_slider-nivo_slider instead of block-nivo-slider-nivo-slider which is what the Nivo slider module is looking for.

I would suggest either filing an issue with BlogBuzz, mentioning that they should convert all underscores in the block's ID to hyphens or you can manually override the Nivo Slider module's javascript and change $('#block-nivo-slider-nivo-slider #slider').nivoSlider({ to $('#block-nivo_slider-nivo_slider #slider').nivoSlider({.

A fix for this would be greatly appreciated.

Comments

Devin Carlson’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Closed (fixed)

A newer version of Nivo Slider is available which no longer has this issue.