Ejemplo n.º 1
0
 public function getSettingsFields()
 {
     $fields = parent::getSettingsFields();
     // Hide ShowInSearch checkbox if we don't have a search
     $fields->removeByName('ShowInSearch');
     return $fields;
 }
 /**
  * @return FieldList
  */
 public function getSettingsFields()
 {
     /** @var FieldList $fields */
     $fields = parent::getSettingsFields();
     $fields->removeByName('ShowInSearch');
     return $fields;
 }
Ejemplo n.º 3
0
 function getSettingsFields()
 {
     $fields = parent::getSettingsFields();
     $fields->insertAfter(new CheckboxField('Anchor'), "ShowInSearch");
     return $fields;
 }
Ejemplo n.º 4
0
 function getSettingsFields()
 {
     $fields = parent::getSettingsFields();
     $fields->addFieldToTab('Root.Settings', new CheckboxField('CustomerView', 'Show in registered menus?'), 'ShowInSearch');
     return $fields;
 }
Ejemplo n.º 5
0
 function getSettingsFields()
 {
     $fields = parent::getSettingsFields();
     $fields->addFieldToTab("Root.Settings", new CheckboxField('ShowPageInFooter'));
     return $fields;
 }