Hi,
I want to have a gallery that is the same on every page, so i have included a maxigallery call in my main templates. However, the gallery is only shown on the homepage, any ideas why?
or to put it another way how do I create a gallery in one place and then re-use.
G
Even if you put the maxigallery call into your template, it uses the document id of each page. You can use the view_gallery parameter to view a gallery from some other document. So you would do the gallery for example in document id 59 and then use [[MaxiGallery? &view_gallery=`59`]] in the template to show that gallery on each page.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
one small problem with this method is that the javascript does not get written into the main template. is there a way round this?
just use the same parameters that the gallery uses.. basicly copy that call and add that view_gallery parameter
"He can have a lollipop any time he wants to. That's what it means to be a programmer."