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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Can't have HTMLEditorField in a popup form

Go to End

2 Posts   1820 Views


Community Member, 5 Posts

13 February 2009 at 8:37pm


I have tried to modify the example from tutorial5 (database relations) by adding a description field(HTMLText) to the Module class.
Then, in the function getCMSFields_forPopup() I added the line:

$fields->push( new HTMLEditorField( 'description' ) );

Now when I go to a project page in the 'module' tab, and try to add a new module the popup form does not show the fields and I get a javascript error saying "f has no properties" (from tiny_mce code)

I have seen a similar discussion here
I really like SilverStripe, but this kind of problem is a show stopper for me.



Community Member, 5 Posts

25 February 2009 at 11:24am

Ok, I tested it again on more machines, and this problem does not exist on IE6+7 and FF3.
It didn't work on my browser - FF2 on Linux.