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.
In Galleria 1.2 2011-02-18 and jQuery 1.3.2, the "thumbnails" setting breaks Galleria entirely. More specifically it breaks it if set to a boolean value (0 or 1), but not if set to "empty" or "numbers". The jquery error is: "elem.parentNode is null sites/all/modules/UX/jquery_update/replace/jquery.js?V Line 1184"
I discovered this after passing on the settings array correctly with this patch (http://drupal.org/node/866014#comment-5781842). Galleria only claims to support the "latest" jQuery version, so it may be that this setting is now broken in jQuery 1.3.
Comment | File | Size | Author |
---|---|---|---|
#2 | views_slideshow_galleria-thumbnails.patch | 3.19 KB | dbassendine |
Comments
Comment #1
dbassendine CreditAttribution: dbassendine commentedHere's a patch to only accept "empty" or "numbers" (a new value) for the "thumbnails" setting (see http://galleria.io/docs/1.2/options/thumbnails/), so that the setting does not break Galleria. Of course this means thumbnails can now not be turned off. A workaround could be to hide these in css (eg. position:absolute; left: -999px on the thumbnails container).
Comment #2
dbassendine CreditAttribution: dbassendine commentedPatch attached.
Comment #3
dbassendine CreditAttribution: dbassendine commented