23478 Posts in 18950 Topics by 2878 members
|Go to End|
20 August 2009 at 8:51am
I have setup a new database (HTMLText) & CMS field (HTMLEditor)
static $has_one = array (
'BannerArea' => 'HTMLText'
$f->addFieldToTab("Root.Content.Banners", new HTMLEditorField('BannerArea'));
However, whatever I put into the editor for that field is not updated - it always takes the first entry.
Any help would be appreciated
20 August 2009 at 12:16pm
You should have BannerArea in your $db array rather then has_one as it is a field, not a relationship
|Go to Top|