We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10903
    • 23 Posts
    Hi

    I am new to MODx and looking for a menu snippet that publishes not only all the parents of the current document and the childs of the currentparent but also the siblings of all those parents.

    Something like this:

    item 1
    item 2
    item 2.1
    item 2.2
    item 2.2.1
    item 2.2.2
    item 2.3
    item 2.4
    item 3
    item 4
    item 5

    I already examined DropMenu and Wayfinder and as far as i can see these snippets can publish all documents within all nodes. There is no parameter to indicate only to display the siblings of the parents. Also CascadingMenu cannot do the job.

    Suggestions are very welcome !

    Tnx
    Gino
      • 15987
      • 786 Posts
      With wayfinder you can use the parameter &hideSubMenus=`TRUE` and it will only show the submenu for the current doc
        • 10903
        • 23 Posts
        This is indeed what I was looking for.

        Many thanks !!
        Gino Lardon