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:

Archive /

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

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

ManyManyComplexTableField and complex fields in popup


Go to End


3 Posts   2147 Views

Avatar
gkusardi

Community Member, 1 Post

20 March 2008 at 12:35pm

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

Forum Moderator, 801 Posts

29 March 2008 at 4:18pm

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

Avatar
jamesg

Community Member, 8 Posts

12 November 2008 at 9:33am

Edited: 12/11/2008 5:15pm

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>