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.

Archive

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

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

ManyManyComplexTableField and complex fields in popup


Reply

3 Posts   1795 Views

Avatar
gkusardi

20 March 2008 at 12:35pm Community Member, 1 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

Avatar
Ingo

29 March 2008 at 4:18pm Forum Moderator, 801 Posts

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

Avatar
jamesg

12 November 2008 at 9:33am (Last edited: 12 November 2008 5:15pm), Community Member, 8 Posts

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 :P</edit>