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.
When adding premium theme Azur, the theme is not loaded on the View Slideshow Galleria options and for that reason the slideshow can't be displayed.
I fixed it by manually adding 1 line of code on views_slideshow_galleria.views_slideshow.inc, line 78:
'azur' => t('Azur'),
That adds the Azur option to Views, then since the theme doesn't comes with a .js file (only the .min.js) I modified the following code on views_slideshow_galleria.theme.inc, line 138:
else {
$theme_path = base_path() . libraries_get_path('galleria') ."/themes/{$theme}/galleria.{$theme}.js";
}
for
else {
$theme_path = base_path() . libraries_get_path('galleria') ."/themes/{$theme}/galleria.{$theme}.min.js";
}
Comments
Comment #1
halver CreditAttribution: halver commentedNo need to hack the module like this.
In views format, select slideshow. In settings, slideshow type, select galleria, theme: custom.
In Custom Theme Options enter Azur for the theme name and sites/all/libraries/galleria/themes/azur/galleria.azur.min.js for the path (or wherever you put the theme).
Comment #2
Talkless CreditAttribution: Talkless commentedI have only Cycle there... This is some kind Galleria support for Views Gallery?