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.

Archive /

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

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

Page Types and multiple editable areas


Reply


2 Posts   1087 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.