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!

CommentFileSizeAuthor
#1 views_slideshow_galleria-1399722-1.patch585 bytessgabe

Comments

sgabe’s picture

Title: Galleria theme not found » Prepend base path to theme path
Priority: Major » Normal
Status: Needs review » Fixed
StatusFileSize
new585 bytes

The attached patch has been committed to both branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

eidoscom’s picture

In 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??