Posted By

petterdr on 03/26/09


Tagged

field cms ss silverstrip newfileds


Versions (?)

New CMS Field


 / Published in: PHP
 

  1. function getCMSFields() {
  2. $fields = parent::getCMSFields();
  3.  
  4. $fields->addFieldToTab('Root.Content.Main', new CalendarDateField('Date'), 'Content');
  5. $fields->addFieldToTab('Root.Content.Main', new TextField('Author'), 'Content');
  6.  
  7. return $fields;
  8. }

Report this snippet  

You need to login to post a comment.