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

Remove "Allow comments on this page?" from "Behavior" tab


2 Posts   592 Views


10 August 2011 at 9:52am Community Member, 197 Posts

I do NOT want the item: "Allow comments on this page?" to be displayed in the administrator tab under the "Behavior" tab.

How can it be removed?


10 August 2011 at 10:35am (Last edited: 10 August 2011 10:35am), Forum Moderator, 474 Posts

public function getCMSFields() {
   $fields = parent::getCMSFields();
   return $fields;