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

List of default form fields in CMS


Go to End
Reply


2 Posts   397 Views

Avatar
lozhowlett

Community Member, 151 Posts

20 October 2011 at 4:49am

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

Forum Moderator, 1201 Posts

20 October 2011 at 9:00am

Edited: 20/10/2011 9:01am

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' :-)