We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32441
    • 4 Posts
    Hello,

    (I’m sorry if my English isn’t that good, I’ll try to write it as good as I can)

    I have the following problem:

    On a site I have a sidebar that shows basically this:
    *atachment 1*
    Just a list of the longtitles of pages.... which works and does everything just ok.

    The (little) problem is, that I want it to show like this:
    *atachment 2*
    Basecally the same list, just with the tree structure shown.
    For example:
    Parent 1
    .............Child 1
    ..................child1 of child 1
    ..................child2 of child 1
    .............Child 2
    ..................child1 of child 2
    ..................child2 of child 2

    (I hope that that makes sence)

    The page has this code:
    [[DittoWilma? &parents=`260` &depth=`3` &tpl=`eventsAll3`!]]

    this is the chunck that is called up on:
    <div class="eventsAll3">
    <b><a href="[~[+id+]~]" title="[+title+]"><w>[+title+]</w></a><b>
    </div>

    Can someone please help me.
    This is my very first website with ModX, and maybe this is easy, but for me it isn’t smiley
    *maybe because I’m blond * lol..

    On forhand, thank you very much!

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Ditto does not do nested lists. Use Wayfinder instead.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 32441
        • 4 Posts
        Hello,

        I looked into Wayfinder and tried it... pretty good.
        Only problem is the fact that the documents that need tot be shown, are not visible in the menu,
        and my wayfinder only list them.

        How can I solve that ?? huh
          • 22840
          • 1,572 Posts
          Try adding &ignoreHidden`false` to the wayfinder call
            • 32441
            • 4 Posts
            Thank you,
            I allready tried &ignoreHidden myself, but that didn’t work, but bij just adding =`false` to it, it does.

            Thank you so much!!

            Don’t know how much this helped me laugh

            THNX!