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:

Archive /

Our old forums are still available as a read-only archive.

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


Go to End

4 Posts   2676 Views


Community Member, 153 Posts

6 October 2007 at 8:11pm


I am trying to enforce certain page types that can only occur as children of others. For example, I have DateHolder and DatePage. Under DatePage, I have added 'static $can_be_root = false;' under 'static $has_one = array();'. However, I am still able to create a DatePage under Site Content in the hierarchy.




Community Member, 44 Posts

16 April 2008 at 2:54am

I'm having the same problem, and still ahven't found an answer... just subscribing to your post in case someone knows how to solve it :-)


Community Member, 904 Posts

3 August 2008 at 10:10pm

Same problem here. Subscribe


Forum Moderator, 5523 Posts

3 August 2008 at 11:22pm

Im pretty sure the can be root is a work in progress / feature that never really got completed! I will check it out