Hi, Ive got a page (homepage) which has three defined columns and I'm trying to setup 3 htmleditor fields to manage the text....but they are not saving. I may be missing something obvious...any help out there? This is what I have:
class HomePage extends Page {
static $db = array(
'$homeCol1' => 'HTMLText',
'$homeCol2' => 'HTMLText',
'$homeCol3' => 'HTMLText'
);
static $has_one = array(
);
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.Main", new HtmlEditorField("homeCol1","Investment-Intro"),"Content");
$fields->addFieldToTab("Root.Content.Main", new HtmlEditorField("homeCol2","Reserves-Intro"),"Content");
$fields->addFieldToTab("Root.Content.Main", new HtmlEditorField("homeCol3","Distribution-Intro"),"Content");
$fields->removeFieldFromTab("Root.Content.Main","Content");
return $fields;
}