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.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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.