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 6182 posts 24284 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies