Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » ManyManyComplexTableField and complex fields in popup

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1786 Views
  • gkusardi
    Avatar
    Community Member
    1 Post

    ManyManyComplexTableField and complex fields in popup Link to this post

    Hello,

    I try to add some complex fields to the popup which appears when an entry is added or edited.

    In detail, I try to use HtmlEditorField, ImageField and TreeDropdownField. As I read in another topic this isn't working that way I want it, so I want to ask if there is another way to use such fields in the form used by ManyManyComplexTableField.

    Greetings,
    Glenn

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: ManyManyComplexTableField and complex fields in popup Link to this post

    imagefield should work, htmleditorfield definetly doesn't, and not sure about treedropdownfield.
    good luck!

  • jamesg
    Avatar
    Community Member
    8 Posts

    Re: ManyManyComplexTableField and complex fields in popup Link to this post

    Sorry to dig this thread up but I've got a related question.

    I'm trying to put a FileIFrameField inside a ManyManyComplexTableField pop up.

    When I click add I get a notice saying:

    "Notice: Trying to get property of non-object in /public_html/sapphire/forms/FileIFrameField.php on line 18"

    Which isn't a big deal but then when I save for the first time the FileIFrameField does this:

    "FATAL ERROR: Disallowed action: 'images' on controller 'CMSMain'
    At line 121 in /public_html/sapphire/core/control/Controller.php"

    The weird thing is if I close the popup and then click the edit button to bring the pop up back I can use it fine, this isn't really too cool for the client though.

    Does anyone have any ideas? I can post code if required.

    Thanks in advance!

    <edit>Turns out this has been fixed in the daily build, so ignore me </edit>

    1786 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.