Jump to:

10993 Posts in 2727 Topics by 1818 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: 875 Views
  • Sophie
    Avatar
    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.

    Sophie

  • UncleCheese
    Avatar
    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)

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