public function getCMSFields()
 {
     $fields = parent::getCMSFields();
     // Set some fields
     $fields->addFieldToTab('Root.Main', new TextField('Location'));
     $fields->addFieldToTab('Root.Main', new TextField('CapturedBy'));
     // Configure the date field
     $df = new DateField('DateCaptured', 'Date Captured (dd/mm/yyyy)');
     $df->setLocale('en_NZ');
     $df->setConfig('dateformat', 'dd/MM/YYYY');
     $df->setConfig('showcalendar', 'true');
     $fields->addFieldToTab('Root.Main', $df);
     return $fields;
 }
 public function getCMSFields()
 {
     $fields = parent::getCMSFields();
     $this->extend('updateCMSFields', $fields);
     return $fields;
 }
 function getCMSFields()
 {
     $fields = parent::getCMSFields();
     $fields->addFieldToTab("Root.Main", new TextField('GooglePlusAuthorLink'));
     return $fields;
 }