Hi,
I am trying to add Galleria Gallery to my modx site. I tried downloading the zip from their site
http://galleria.aino.se/, but quickly found myself confused about where to put the various parts to make it work with modx.
Next, I found there was a Galleria package made for modx
http://modxcms.com/extras/package/637?version=1107, which I have also tried to install, however, it does not seem to be working correctly.
Here is my site URL
http://www.rhemaimagesphotography.com/gallery-text.html
The template file for the modx package is as follows:
//////////////////////////////////////////////////////////////////////////////////////////////////
//
// UPLOAD THE CONTENTS OF THE GALLERIA GALLERY FOLDER IN ITS ENTIRETY
// DEFAULT LOCATION IS ASSETS/SNIPPETS/ HOWEVER YOU CAN USE A DIFFERENT LOCATION JUST MAKE SURE TO CHANGE THE INSTALL PATH
//
// PASTE THIS FILE INTO MODx BETWEEN THE PHP TAGS TO INSTALL THE SNIPPET
//
// Snippet Name: Galleria Gallery
// Short Description: Advanced Gallery using jQuery Based Galleria
// Version: 0.1
// Author: Simon Fraser | http://symatree.co.uk
// Software: http://devkick.com/lab/galleria/
//
//////////////////////////////////////////////////////////////////////////////////////////////////
// path for gallery location
$gallerypath="assets/images/photos/";
// Path where Gallery is installed/uploaded
$installpath="assets/snippets/GalleriaGallery/";
// jQuery procedure ran for galleria
$runcode="$('ul.gallery').galleria({history:false}); $('ul.gallery li:first').addClass('active'); ";
//include snippet file
$output = "";
include($modx->config['base_path'].$installpath.'ModX.Galleria-Crawl.php');
///////////////////////////////////////////////////////////////////////////////////////////////////
return $output;
What I am noticing, is that the galleria.css file does not seem to be loading properly. I added the path to the css file as a link in the head of the template file, so it should be loading the css file, but the properties are not attaching themselves to the elements. I can see the pictures I uploaded on the page, but they are not in a gallery format.
Please look at it and tell me if you have any ideas about how to fix this.
-Thanks, Dan