4424 Posts in 1267 Topics by 945 members
Customising the CMS
SilverStripe Forums » Customising the CMS » Simple Page
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 426 Views |
-
Simple Page

27 February 2010 at 2:53am
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
-
Re: Simple Page

27 February 2010 at 11:59am
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.
| 426 Views | ||
|
Page:
1
|
Go to Top |


