I am trying to create a drop down menu that displays the pages on my site... but when I use 'TreeDropdownField' it gives me a list of site admin ... not the pages.
Is there anything I'm doing wrong here?
static $has_one = array(
'BoxTree1' => 'SiteTree'
);
function getCMSFields() {
$fields->addFieldToTab('Root.Content.Box1', new TreeDropdownField('BoxTree1','More Link'), "SiteTree");
}