Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Simple Page


Reply


2 Posts   674 Views

Avatar
Victor

Community Member, 128 Posts

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

Avatar
Willr

Forum Moderator, 5513 Posts

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.