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

Disable or configure editor on a per-page basis

Go to End

2 Posts   1311 Views


Community Member, 19 Posts

2 July 2008 at 2:26am

Edited: 02/07/2008 2:27am

Is it possible to disable or customize the editor on a per-page basis? Let's say I have a page type for news items in which the user can only type plain text in the content field (and that the CMS only generates line breaks), or another page type with just a couple of options in the editor (bold, italic, links). Other page types can have a complete editor.


Administrator, 690 Posts

7 July 2008 at 1:30pm

That would be quite difficult, because the toolbar is loaded when the CMS is first loaded. You could try making some custom javascript that's executed every time a page is loaded for editing, that disables/enables buttons as appropriate.