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   2621 Views

Avatar
xmedeko

Community Member, 94 Posts

13 August 2007 at 4:16pm

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

230 Posts

14 August 2007 at 9:43am

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