Copied to clipboard

Flag this post as spam?

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


  • Johan 95 posts 264 karma points
    Nov 27, 2015 @ 08:11
    Johan
    0

    Displaying siblings of parent node navigation

    As the title says, I want to display the sibling nodes of their parent node. Any tips on how to do it?

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Nov 27, 2015 @ 11:28
    Alex Skrypnyk
    101

    Hi Johan,

    You can do that like:

    var siblings = Umbraco.AssignedContentItem.Parent.Siblings();
    

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft