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:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Problem with simpletreedropdownfield


Go to End


12 Posts   2444 Views

Avatar
UncleCheese

Forum Moderator, 4102 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, 4102 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