Hi,

I'm using this great module but ran into a problem and maybe somebody could give me a hand.
When creating multiple gallery-nodes and showing these nodes on the frontpage, only the top gallery is working like it should.
Other galleries are showing the thumbnail section, but not the slides. Instead only the loader image is spinning indefinitely.

One thing I noticed in the html code of the rendered page is that each node has a div container for the galleriffic gallery, but all these containers have the same id eg. "galleriffic". Actually, every div id (thumbs, slideshow, controls etc.) is the same across multiple nodes. Maybe there is some js selector problem going on?

Thanks!

Comments

acouch’s picture

Status: Active » Needs work

You are correct that the module cannot display more than one gallery at the same time on the same page. You are also correct that the divs in the template and the views_galleriffic.js are the issue.

To fix this we would need to generate a unique div for the gallery in the template and loop through each div on in the views_galleriffic.js (or we might just need to loop through each class that in wich the slides are contained, I'd have to try it out).

I don't plan on working on this for at least a while but will accept a working patch if someone wants to take a crack at this.