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


Go to End
Reply


12 Posts   1905 Views

Avatar
UncleCheese

Forum Moderator, 4096 Posts

6 November 2009 at 3:40am

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

Community Member, 49 Posts

6 November 2009 at 3:52am

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

Forum Moderator, 4096 Posts

6 November 2009 at 4:10am

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

Community Member, 49 Posts

6 November 2009 at 9:07pm

Correct

Go to Top