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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

List of default form fields in CMS


Reply

2 Posts   276 Views

Avatar
lozhowlett

20 October 2011 at 4:49am Community Member, 146 Posts

Hi

I want to use...

$fields->removeFieldFromTab('Root.Content.Main', 'MenuTitle');

Which is fine, but where is list of the default ones, eg what is the main rich text editor called etc?

Cheers!

Avatar
martimiz

20 October 2011 at 9:00am (Last edited: 20 October 2011 9:01am), Forum Moderator, 1091 Posts

I don't think there's an actual list... But you can always check the SiteTree class (sapphire/core/model/SiteTree.php) from which the Page class is extended (look for the static $db property).

Btw the richtext editor field is called 'Content' :-)