In 7.x-3.0 of Panels the slideshow shell loads, but but none of the images load (just get a spinning wheel and a white background -- no navigation or anything). It loads just fine on all other pages. Is it possible to use the module in Panels?

Comments

bib_boy’s picture

I've just come across the same issue. Nivo doesn't work as a block in a panel.

devin carlson’s picture

Assigned: Unassigned » devin carlson
Status: Active » Needs review

Nivo Slider currently requires a specific block ID in order to properly initialize the slider. Panels doesn't seem to render block content through block.tpl.php, so the required block ID is never generated, causing Nivo Slider to fail.

The attached patch should make Nivo Slider work in a variety of environments where it would previously fail (such as themes which used a non-standard method of generating block IDs).

The only thing that Nivo Slider still doesn't support is the display of multiple sliders on the same page (which is by design).

devin carlson’s picture

devin carlson’s picture

Status: Needs review » Fixed

Committed to 7.x-1.x-dev.

eisley79’s picture

This could use a more prominent mention, as it does extend beyond panels.

The Slider does not work while sub-theme'ing fusion, but switching to the dev release (with the above mentioned patch), fixes it instantly.

A note or link in a more visible place might save others some headaches.

devin carlson’s picture

I agree that this fix should be promoted, so I have rolled a new stable release of Nivo Slider.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.