17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 809 Views |
-
TreeDropdownField()

28 December 2007 at 10:50am Last edited: 28 December 2007 11:16am
Hello,
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...
| 809 Views | ||
|
Page:
1
|
Go to Top |

