hello
i have installed image gallery and its working fine but i need to create 3 gallery with different layout,..is it possible to create different template for image gallery and if possible then how to do it??
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
DataObjectManager Module /
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
two template for image gallery
The cleanest and easiest way to do it is to add an ID to your body tag:
<body id="$URLSegment" class="$ClassName">
Then you can update your layout with CSS
#gallery-one .gallery-layout {....}
#gallery-two .gallery-layout {....}
etc..
UncleCheese, by default, Image Gallery extends Page. So do I update the Body tag in the Page.ss file? Thanks!
~ Valorinbattle