Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi - in a Template I want to display a list of some of the properties of sibling pages (of a certain doctype) - its not for navigation. Any ideas?
Thanks
Hi,
Model.Parent.Children.Where("nodeTypeAlias = \"myDocTypeAlias\"")
will give you a list of all siblings with a doctytpe alias of myDocTypeAlias . Is that what you want?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get sibling pages
Hi - in a Template I want to display a list of some of the properties of sibling pages (of a certain doctype) - its not for navigation. Any ideas?
Thanks
Hi,
will give you a list of all siblings with a doctytpe alias of myDocTypeAlias . Is that what you want?
Thanks
is working on a reply...