Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

two template for image gallery


Reply


3 Posts   1055 Views

Avatar
Rishi

Community Member, 97 Posts

24 January 2010 at 7:49am

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??

Avatar
UncleCheese

Forum Moderator, 4096 Posts

24 January 2010 at 2:04pm

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..

Avatar
Valorinbattle

Community Member, 95 Posts

4 October 2010 at 1:22pm

UncleCheese, by default, Image Gallery extends Page. So do I update the Body tag in the Page.ss file? Thanks!

~ Valorinbattle