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:

Template Questions /

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

AllChildren doesn't show protected pages


Go to End


2076 Views

Avatar
Ed

Forum Moderator, 7 Posts

10 March 2009 at 2:46pm

Hey,

I was using ChildrenOf(foo) for a nested menu, but hit a snag once the client asked that the subpages be protected (members only) but still appear in menus. I expected to be able to do AllChildren to get around it, but alas that still doesn't show up protected pages.

Any ideas how to get children including protected pages?