22845 Posts in 9589 Topics by 2801 members
|Go to End|
3 July 2011 at 7:36pm Last edited: 4 July 2011 4:04am
Hi, im wanting to create my header so that it can be edited on a page per page basis (this i know how to do), but is there a way that on creation of this header i can add a default text that can populate the db for all of these pages, then should the Web editor require a different text he/she can override it for a particular page?..
This is how i understand it should work:
$fields->addFieldToTab("Root.Content.HeaderText", new HTMLEditorField( 'HeaderText', 'Text In The Header', 20, 20, 'My Default Text Here' ));
|Go to Top|