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.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Problem with simpletreedropdownfield


Reply

12 Posts   1821 Views

Avatar
UncleCheese

6 November 2009 at 3:40am 4085 Posts

No, I was hoping it would work itself out on its own. :)

This is truly bizarre. What happens if you change the class from SiteTree to Folder?

Avatar
frabraha

6 November 2009 at 3:52am Community Member, 49 Posts

No change with trying "Folder".

Have you tried to add the dropdownfield in a popup before?

I could mail you the code I have for this, if you have the time to take a look at it?

Avatar
UncleCheese

6 November 2009 at 4:10am 4085 Posts

I use SimpleTreeDropdown in popups all the time. Look at the popup for the File objects in AssetAdmin. I'll give it a try today. Your code is still:

return new FieldSet( new SimpleTreeDropdownField("InternalLinkID", "InternalLinker", "SiteTree"));

correct?

Avatar
frabraha

6 November 2009 at 9:07pm Community Member, 49 Posts

Correct