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.

Archive

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

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

No allowed_children


Reply

2 Posts   2541 Views

Avatar
xmedeko

13 August 2007 at 4:16pm Community Member, 94 Posts

Hi,
if a page has no allowed children, what is the recommended value for 'static $allowed_children'?

1) "none" as recommended at http://doc.silverstripe.com/doku.php?id=customising-the-hierarchy&s=allowed%20children

2) null as recommended at
http://doc.silverstripe.com/doku.php?id=development-guidelines:site-news&s=allowed%20children

Cheers

Avatar
Andy

14 August 2007 at 9:43am 230 Posts

The string 'none'. I've updated the incorrect page.