Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • saintwright 69 posts 77 karma points
    Jun 27, 2011 @ 13:12
    saintwright
    0

    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

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Jun 27, 2011 @ 15:13
    Dan Diplo
    0

    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?

  • saintwright 69 posts 77 karma points
    Jun 29, 2011 @ 01:14
    saintwright
    0

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft