function getFrontEndFields()
 {
     $fields = parent::getFrontEndFields();
     $fields->removeByName("ParentID");
     $fields->removeByName("Name");
     $fields->replaceField("Title", new LiteralField("Title", "<h3>Edit the details for " . $this->Title . "</h3>"));
     return $fields;
 }
 /**
  * Setup the fields for the frontend
  * @param type $params
  * @return FieldList $fields the default FieldList
  */
 public function getFrontEndFields($params = null)
 {
     $fields = parent::getFrontEndFields($params);
     $fields->removeByName(array('MD5Email', 'AkismetMarked', 'Visible', 'ShowGravatar', 'News'));
     $fields->replaceField('Email', EmailField::create('Email', $this->fieldLabel('Email')));
     $fields->replaceField('Comment', TextAreaField::create('Comment', $this->fieldLabel('Comment')));
     $fields->fieldByName('Comment')->setColumns(20)->setRows(10);
     return $fields;
 }
 public function getFrontEndFields($params = null)
 {
     $fields = parent::getFrontEndFields($params);
     $fields->replaceField('Layout', $dd = DropdownField::create('Layout', null, self::$layouts));
     $dd->setHasEmptyDefault(true);
     $fields->removeByName('InheritPerms');
     $fields->removeByName('OwnerID');
     //		$fields->removeByName('PublicAccess');
     return $fields;
 }
 public function getFrontEndFields($params = null)
 {
     $fields = parent::getFrontEndFields($params);
     $fields->removeByName("Identifier");
     $fields->removeByName("ParentID");
     $fields->removeByName("Name");
     $fields->unshift(self::dropdown("Identifier", "Network"));
     $this->extend('updateFrontEndFields', $fields);
     return $fields;
 }
 /**
  * Return fields that should be visible to the user
  * on the front end. These are scaffolded fields
  * with some inappropriate fields removed.
  * 
  * @return object FieldSet object
  */
 public function getFrontEndFields()
 {
     $fields = parent::getFrontEndFields();
     $fields->removeByName('Weight');
     $fields->removeByName('Version');
     $fields->removeByName('ProductID');
     foreach ($fields as $field) {
         $field->setValue($this->getField($field->Name()));
     }
     return $fields;
 }
 public function getFrontEndFields($params = null)
 {
     $fields = parent::getFrontEndFields($params);
     $exludes = array("BouncedCount", "Blacklisted", "ReceivedCount", "ValidateHash", "ValidateHashExpired", "Verified");
     foreach ($exludes as $exclude) {
         $fields->removeByName($exclude);
     }
     return $fields;
 }
 public function getFrontEndFields($params = null)
 {
     $fields = parent::getFrontEndFields($params);
     $this->updateFields($fields);
     return $fields;
 }