Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
MiniOverlord CreditAttribution: MiniOverlord commentedGot exactly the same problem here on my development site.
Comment #2
Mark Theunissen CreditAttribution: Mark Theunissen commentedThanks for the report. I'll take a look as soon as I get some time.
Comment #3
Mark Theunissen CreditAttribution: Mark Theunissen commentedI 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.
Comment #4
eromba CreditAttribution: eromba commentedI 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.
Comment #5
kobocms CreditAttribution: kobocms commentedThank you prof1337,
That patch worked for the issues I had with galleria and fivestar. I really need to learn more javascript :-).