Jump to:

10987 Posts in 2724 Topics by 1817 members

All other Modules

SilverStripe Forums » All other Modules » Edit the gallery module page type

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 926 Views
  • Big Bang Creative
    Avatar
    Community Member
    92 Posts

    Edit the gallery module page type Link to this post

    I need a different template (edit the page type) for the gallery so I can make it go full width.

    The module does not actually create a .ss template file in the normal template directory. Currently the reference for the gallery include is within layout/page.ss and uses my standard page type however $Layout is within a middle column with another column to the right of it but on the gallery page I want the middle column to take up the full width of my middle column and right column.

    I have attached a mockup which may explain what I want more clearly.

    Attached Files
  • UncleCheese
    Avatar
    4085 Posts

    Re: Edit the gallery module page type Link to this post

    Just create your own GalleryPage.ss in mysite/templates/Layout. Copy the content over and change what you want. Those default templates are built to be customized, not taken at face value.

    I'd also look into the ImageGallery module, which offers many more features than the standard Gallery module. http://www.silverstripe.org/all-other-modules/show/250910#post250910

  • Big Bang Creative
    Avatar
    Community Member
    92 Posts

    Re: Edit the gallery module page type Link to this post

    I have it sorted now. I did actually create a page type (GalleryPage.ss) and thought it was not working... turned out it was just caching so it works now.

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