Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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
You should have BannerArea in your $db array rather then has_one as it is a field, not a relationship