Hi, I have an odd problem. Hopefully a simple one.
I have a popup where I have added a HtmlEditorField, it refers to a database column set to "HTMLText" but all I get in my popup is a simple textarea field. No WYSIWYG buttons or anything.
What am I doing wrong?
class Products extends DataObject {
static $db = array(
'Product_Name' => 'Text',
'Product_Blurb' => 'HTMLText'
.
.
.
function getCMSFields_forPopup() {
$fields = new FieldSet();
$fields->push( new TextField( 'Product_Name', 'Product Name'));
$fields->push( new HtmlEditorField("Product_Blurb", "Description"));
.
.
.
Any ideas?