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.
Hi - i'm using the latest release of this module - 7.x-1.0-beta3
The README.txt doesn't specify which version of galleria.js to use, so i've downloaded the latest which is 1.4.2
However i'm getting the error:
$this.galleria is not a function
I've checked the library is definitely loading and is accessible via the browser. The docs on Galleria mention use of:
Galleria.run('.galleria');
rathen than
$this.galleria();
...as in the module. Am i using the wrong version of Galleria.js, or is the module code out of date?
Thanks
Comment | File | Size | Author |
---|---|---|---|
#2 | galleria.tar_.gz | 152.16 KB | maen |
Comments
Comment #1
oxydog CreditAttribution: oxydog commentedHi rich.3po,
Must say, I'm a bit disappointed in the results (or lack of) I found for this problem. We've been struggling for a week to get this working, because we ASSUMED (I know, very dangerous) one should use the latest galleria.js library (1.4.2). Turns out you can't, reverted back to 1.2.9, et voila, everything started working!
Hope you get yours up and running as well.
Ciao
Comment #2
maen CreditAttribution: maen commentedThe last 2 hour I tried to get this version. Now I found it from a python rep. I had to rename the js files. Now it works. For those who have the same problems, here is a timer saver. Version 1.9.2-2, works for me at least.
Comment #3
rich.3po CreditAttribution: rich.3po commentedHi - thanks for figuring out which version works! I'll aim to create a documentation patch when i get time (or stipulate the version in hook_libraries_info() if the modules uses that...)
Regarding downloading older releases, can you not just get them from Github?
https://github.com/aino/galleria/tags
Cheers
Comment #4
maen CreditAttribution: maen commentedNow I'm ashamed!
Comment #5
gaele CreditAttribution: gaele commentedThis module does work with newer versions of galleria.js, like 1.4.2, but you need to update jQuery to version 1.7 or higher, using jquery_update. See http://support.galleria.io/discussions/problems/10769-update-from-129-to...