Jump to:

10987 Posts in 2724 Topics by 1817 members

All other Modules

SilverStripe Forums » All other Modules » Question about Image Gallery and Templates

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 872 Views
  • Sophie
    Community Member
    33 Posts

    Question about Image Gallery and Templates Link to this post

    The image gallery seems to utilize Page.ss for the style of the page. My client wants a different template applied to the gallery page (not page.ss) and Page.ss applied to the album pages. I would imagine this is possible, but I'm not sure where to begin. Any direction would be appreciated.


  • UncleCheese
    4085 Posts

    Re: Question about Image Gallery and Templates Link to this post

    Just create your own ImageGalleryPage.ss in your theme_dir/templates/Layout directory. If you want the "wrapper" of the site, that is, everything around the $Layout part to change for the ImageGalleryPage class, then create a ImageGalleryPage.ss in your_theme_dir/templates, as well (at the same level as Page.ss)

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.