There is a problem in in line 138 of views_slideshow_galleria_theme.inc where the Galleria theme files are to be added.
It currently says:
$theme_path = libraries_get_path('galleria') ."/themes/{$theme}/galleria.{$theme}.js";
This can cause the module not to be able to load the Galleria theme JavaScript file. What is missing is Drupal's base path as the link is added to the page as sites/all/libraries/gallieria... and not /sites/all/libraries/gallieria.... It won't be a problem as long as the Galleria is displayed on a front page probably and the Drupal installation is not in a sub-directory. But if it is, it won't find the file.
Simply change that line to:
$theme_path = base_path() . libraries_get_path('galleria') ."/themes/{$theme}/galleria.{$theme}.js";
by entering a base_path() function!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_slideshow_galleria-1399722-1.patch | 585 bytes | sgabe |
Comments
Comment #1
sgabe commentedThe attached patch has been committed to both branches.
Comment #3
eidoscomIn don't know why but applying the patch don't slove my problem. Anyone knows if there are some interferences betweeen some javascript and this module??
I can show a gallery in the front page but not in other not root pages. Any suggestion??