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:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

SiteTree Database Field Error

Go to End

2 Posts   1048 Views


Community Member, 61 Posts

12 October 2009 at 7:55am


I am using 'Link1' => 'SiteTree' and "new TreeDropdownField('Link1ID','Link'));" however the only two options I have appearing in the dropdown is:

Newsletter Subscribers

I really would like it to show all pages in the site.

Any help would be appeciated - this may be a bug in the Newsletter module??



Forum Moderator, 5523 Posts

12 October 2009 at 9:24am

You have to tell the TreeDropdownField which dataobjects you would like in the dropdown field.

new TreeDropdownField('LinkID', 'Link', 'SiteTree');