Hey,

I just purchased the folio theme from the galleria website is there any way to use this with this module?

I have my slideshow setup and working fine using the classic theme. I have uploaded my new theme to sites/all/libraries/aino-galleria/src/themes/folio. It doesn't appear in the list along with the classic theme on the view so I have set it to custom and the settings are:
Custom theme: folio
Custom theme path: sites/all/libraries/aino-galleria/src/themes/folio
(I also tried the custom theme path set to: themes/folio)

The path to the galleria plugin is set to: sites/all/libraries/aino-galleria/src

Any help would be much appreciated? thanks.

Comments

design.er’s picture

Thanks a lot for posting your request. I also want to purchase the folio theme. I hope there will be a solution for this problem.

flbr’s picture

I too am curious as how to use a custom theme.

What I used:

Theme:
<Custom> (specify options below) 

Custom theme: 
Twelve

Custom theme path: 
sites/all/libraries/aino-galleria-68e53dc/src/themes/twelve

The error I get:

Error: Fatal error: Theme at //sites/all/libraries/aino-galleria-68e53dc/src/themes/twelve could not load, check theme path.
Source File: /sites/default/files/js/js_50c9d6a714f7481c39030291ee5a41ab.js
Line: 5209

and of course:

Error: Fatal error: No theme found.
Source File: /sites/default/files/js/js_50c9d6a714f7481c39030291ee5a41ab.js
Line: 5209

See the double // at the themepath, even though I did not specify it in the View. Any suggestions?

scarvajal’s picture

Subscribing

jrstmartin’s picture

So yeah I purchased the Twelve theme and got it working, here's how:

  1. When you extract your purchased .zip file it will contain all of Galleria with your theme contained within it, so I just unzipped the directory to sites/all/libraries, which is named "galleria", and deleted the other galleria directory (aino-galleria-cd07497). This causes 2 issues:
    1. Your Galleria library folder name is now different, so change it at admin/build/views/views_slideshow_galleria to "sites/all/libraries/galleria".
    2. The main Galleria Javascript file is named different. Needs to be just "galleria.js". So I did cp sites/all/libraries/galleria/galleria-1.2.5.min.js sites/all/libraries/galleria/galleria.js
  2. Specify your new theme name and new theme path in the Galleria settings via Views Slideshow. In my case:
    1. Select radio button for "<Custom> (specify options below)" and expand "Custom theme options".
    2. Custom theme: "twelve".
    3. Custom theme path: "sites/all/libraries/galleria/themes/twelve/galleria.twelve.min.js".
  3. Not there yet unfortunately, some code in views_slideshow_galleria.theme.inc screws-up the path to your new theme's JS file. I recommend using this patch, as it will fix this problem plus allow your Galleria settings made inside Views Slideshow to actually work. If you don't want this patch, just change the line specified in the next step.
  4. In sites/all/modules/views_slideshow_galleria/themes/views_slideshow_galleria.theme.inc find the line $settings['themeURL'] = base_path() . '/'. $options['custom_theme_options']['theme_path']; and change it to $settings['themeURL'] = base_path() . $options['custom_theme_options']['theme_path'];.

Clear your cache, refresh, and all should be working. This assumes you also know about the small CSS adjustment needed to make Galleria visible, at least with the Classic theme.

My module setup is also:

  • views Module - 6.x-2.12
  • views_slideshow Module - 6.x-2.3
  • views_slideshow_galleria Module - 6.x-1.x-dev
  • jquery_update Module - 6.x-2.0-alpha1 (which is jQuery 1.3.2)
  • Galleria - 1.2.5
  • views_attach Module - 6.x-2.2
unc0nnected’s picture

Ran through your suggestions, applied the patch but the Twelve theme still doesn't work.. As soon as I put anything into the custome theme path field my galleria vanishes on the front page.. I've gone through the html and all of the javascript and css links and they are all pointing to valid locations.

No errors, no logs, no galleria with this custom theme..

natparnell’s picture

I also downloaded the miniml theme and couldn't get it to work using any of the above. However, a quick look at the source shows that it's trying to load:

Galleria.loadTheme("sites/all/libraries/galleria/themes/miniml/galleria.miniml.js")

...and the actual filename that you're supplied with when downloading is called galleria.miniml.min.js

So I got it working straight away by renaming the file to galleria.miniml.js (chopping the .min). Changing the theme in the views options to miniml then works. Not sure this is the best way so I'm going to have a look at the code and see if there's a better way.