Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Can't have HTMLEditorField in a popup form

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

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

Page: 1
Go to End
Author Topic: 1413 Views
  • amir99
    Avatar
    Community Member
    5 Posts

    Can't have HTMLEditorField in a popup form Link to this post

    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

  • amir99
    Avatar
    Community Member
    5 Posts

    Re: Can't have HTMLEditorField in a popup form Link to this post

    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.

    1413 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.