17488 Posts in 4473 Topics by 1978 members
|Go to End|
28 December 2007 at 10:50am Last edited: 28 December 2007 11:16am
I have a page type with some fields and one of the fields should be a url to another page in the tree. I use:
$fields->addFieldsToTab('Root.Content.Banners', new TreeDropdownField('Banner1Url','Link','SiteTree','URLSegment'));
This works fine but when saved and I return to the page I get an error as attached. It tries to do a get_by_id with the non-nummeric URLSegment. Am I doing something wrong?
Thanks a lot...
|Go to Top|