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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Templating - Finding Page Siblings


Go to End


3 Posts   2131 Views

Avatar
Hamish

Community Member, 712 Posts

20 May 2008 at 8:55am

Hi all,

Is there a tag to find out if a particular page has siblings? Or, failing that, that the parent page has more than 1 menu-visible child?

I'll code a custom property if I need too - but wondered if such a property already existed. I've tried all the obvious names, and tried manipulating the parent attribute without any luck. If not, it would be a snippet to have.

Thanks!

Avatar
dio5

Community Member, 501 Posts

20 May 2008 at 9:35am

Avatar
Hamish

Community Member, 712 Posts

20 May 2008 at 9:58am

Ah ha - can I vote that into the core? +1!

Thank you