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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   2797 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