Jump to:

5513 Posts in 1732 Topics by 1218 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Simple Page

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

Page: 1
Go to End
Author Topic: 650 Views
  • Victor
    Avatar
    Community Member
    128 Posts

    Simple Page Link to this post

    I have some module and the standard view is controlled by say FooPage.ss which in turn extends Page.ss
    What I want: to construct SimpleFooPage.ss which does not load Page.ss so all the headers, footers, nav. menus and all the bells and whistles do not appear.

    How?

    Victor

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Simple Page Link to this post

    Page.ss so all the headers, footers, nav. menus and all the bells and whistles do not appear.

    Instead of including SimpleFooPage.ss in the templates/layout/* folder you can put SimpleFooPage.ss in templates/* (not in layout). This will make SimpleFooPage.ss the main template rather then rendered as a subtemplate inside page.

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