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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Page Types and multiple editable areas


Go to End


2 Posts   1292 Views

Avatar
thebestsophist

Community Member, 7 Posts

13 September 2008 at 3:56am

Edited: 13/09/2008 3:57am

I have a site that has two editable areas, which are set in templates/page.ss, but I want to be able to set it so specific page types (such as a forum) does not include the code for the extra area (design wise, I want the page to change from a three column layout to two). To see what I'm trying to deal with http://chapters.enguindesign.com/forums
Is there some way to put url specific code in page.ss to drop parts of the layout or something I can do so I can set that I only want the extra fields on certain page types? I have only figured out how set editable areas globally.

Avatar
thebestsophist

Community Member, 7 Posts

13 September 2008 at 4:30am

Nevermind, I just figured out a way to get around it.

For those with the same issue, I used page specific css
(http://www.silverstripe.com/website-authors-forum/flat/59153) to hide the fields I don't want.