Love the module - thank you!

When fivestar module is displayed on the same page as galleria, the main thumbnail dissapears and turns into 2 smaller thumbnails as soon as anyone gives a rating. Looks like when the fivestar javascript is called it messes up the gallery's main pic - javascript is not my strength.

Thanks

(example at: http://kobo.com.au/portfolio/view/10/kate-sieben-reflexologist)

Comments

MiniOverlord’s picture

Got exactly the same problem here on my development site.

Mark Theunissen’s picture

Assigned: Unassigned » Mark Theunissen

Thanks for the report. I'll take a look as soon as I get some time.

Mark Theunissen’s picture

Status: Active » Closed (won't fix)

I can confirm the problem. It's probably got to do with the way both modules used the # fragment, although I don't know - I didn't write the jQuery plugin.

Advice is to either contact the Fivestar authors or the Galleria jQuery authors.

eromba’s picture

Status: Closed (won't fix) » Closed (duplicate)

I couldn't help but notice how similar these symptoms sound to my own Galleria-corruption issue with FCKEditor. I haven't tried running Fivestar, but by looking at the code I can see that it uses AJAX requests to submit ratings. I bet that whenever these requests are made, the callback that initializes lightbox-embedded Gallerias is run, unnecessarily reinitializing all Gallerias on the page!

If this is indeed the case, my patch for #444566: Compatibility with FCKEditor module should do the trick.

I am preemptively marking this issue as a duplicate.

kobocms’s picture

Thank you prof1337,

That patch worked for the issues I had with galleria and fivestar. I really need to learn more javascript :-).