Page 1 of 1
More than one gallery on a page
Posted: Thu Mar 10, 2011 3:27 am
by jasnick
Using CMSMS 1.9.3 and Gallery module.
What do I alter to have more than one gallery on a page? I don't want a sub-gallery, just another gallery underneath one on a page.
Would I have to download the module again and call it Gallery2 or something?
Thanks - I have looked and goggled but not sure where to go next.
Re: More than one gallery on a page
Posted: Thu Mar 10, 2011 7:26 am
by Marijus
you can call twice
Code: Select all
{Gallery dir='name1'}
{Gallery dir='name2'}
Re: More than one gallery on a page
Posted: Thu Mar 10, 2011 7:37 am
by jasnick
OK - thanks Marijus - does this mean I have to download the module again? Or load the new images into a separate folder and use a parameter such as you suggested?
Re: More than one gallery on a page
Posted: Thu Mar 10, 2011 3:06 pm
by russ_hillis
I think if you read through the Gallery module's help section it describes how to do this. I'm pretty sure trying to make a second install of the module won't help your situation.
Re: More than one gallery on a page
Posted: Thu Mar 10, 2011 7:28 pm
by Marijus
jasnick wrote:does this mean I have to download the module again? Or load the new images into a separate folder and use a parameter such as you suggested?
You don't need to download module again, that don't helps.
Just try call like I said, or you can put just
{Gallery} and see what you'll get.
And as russ_hillis says try to read in Gallery help section how to use this module

Re: More than one gallery on a page
Posted: Thu Mar 10, 2011 11:18 pm
by jasnick
Thanks - yes, I have read the Gallery help several times - first thing I did before posting - and it has made things clearer. I am only well versed in HTML and CSS so all this {} stuff is a bit new to me, but I'm getting there.
I tried giving the second gallery a dir name as Marijus suggested and it worked to the extent that it appeared under the first gallery but the problem was that the shortcut to it (folder icon) also appeared as well. So I think I am almost there. Just a bit more experimenting.
From what I can understand of the Help section, it appears I must create the second gallery as a subgallery, there is no way to create it as a main gallery, then fiddle with code somewhat.
Thanks for the help.