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

Making a child, where is not allowed


Go to End


9 Posts   3391 Views

Avatar
schellmax

Community Member, 126 Posts

1 May 2008 at 5:41am

Edited: 01/05/2008 5:42am

although i can't find this documented anywhere, the 'allowed_children' feature now seems to be implemented in the CMS, at least in my current version (2.2.1).

when i click on a page with 'allowed_children' set, the dropdown for pagetypes automatically selects the first of my allowed_children. nevertheless, i can still select another (not allowed) page type in the list, what happens then is that in the sitetree, the selection jumps to the root ('Site Content').

i think this behaviour is a little confusing... wouldn't it be better to hide all page types aside from the allowed ones?

Go to Top