where can i find maxigallery.txt its not in the zip?
ive made my call in the conetn but im not getting any button added etc.
Quote from: tworak at Jul 14, 2009, 01:52 PM
where can i find maxigallery.txt its not in the zip?
You can use the same as what is in the released version
e.g:
////// Setting(s)
/////////////////////////////////////////////////////////////////////////////////
//
// Path where the galleries will be stored (you have to create it and make it writeable!)
$path_to_galleries="assets/galleries/"; // [ path ]
//
// Path where MaxiGallery is installed
define(MAXIGALLERY_PATH, "assets/snippets/maxigallery/");
//
//include snippet file
$output = "";
include($modx->config['base_path'].MAXIGALLERY_PATH.'maxigallery.php');
//
///////////////////////////////////////////////////////////////////////////////////////////////////
return $output;
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Where is the snippet code? OR maxigallery.php is the snippet code in the 0.6 archive attached to the 1st post?
Also, is that the latest version?
hey zi,
it’s the snippet code posted above & all the other necessary files are attached to the first post
j
Sure you can, no problem. But it’s best to leave the default templates untouched (so you can always re-visit them to look how they work). Create a new chunk based on the default template (content of gallerypicture.html file) and define your custom template chunk in the maxigallery snippet call.
But yeah, you can use snippets in MaxiGallery templates just fine.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
You probably have css collisions between your site css and ligthbox css. Read more about it here.
http://modxcms.com/forums/index.php/topic,36851.0.html
"He can have a lollipop any time he wants to. That's what it means to be a programmer."