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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   2203 Views

Avatar
amir99

Community Member, 5 Posts

13 February 2009 at 8:37pm

Hi,

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.

Amir

Avatar
amir99

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.