We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15510
    • 70 Posts
    Still don’t have this working. I have tried the suggestion mentioned and it gets me pretty close. I have downloaded Ditto 2.1 and am trying to use multi-level sort to sort by [parent,menuindex] but the sorting is not working. Any ideas?
      • 36592
      • 970 Posts
      I’ve never tried this but the multi-sorting looks something like ...
      &orderBy=`pagetitle DESC, menuindex ASC`
        • 15510
        • 70 Posts
        tkfm--

        Thanks for your help on orderBy. I haven’t been able to find any documentation that describes that! I am now able to order the docs correctly.

        I think the conclusion from my experiments indicates that Ditto does not work nested when trying it my way.

        Thanks,
        kc64
          • 15510
          • 70 Posts
          I guess I have one more question before this problem is nailed. I enter the Ditto call as:
          [!Ditto? &parents=`[*list*]` &orderBy=`parent ASC,menuindex ASC` &depth=`1` &tpl=`slide` &display=`all` &debug=`1` !] 

          I enter "167,145" into the list TV and the Ditto call sorts it to the 145 document children and then the 167 document children since I orderBy "parent ASC". If I don’t specify a sort order, it all comes out randomly. Is there a way to make the content out in the order I specify in the TV? In other words, if I enter "167,145" in the list TV, is there a way to make it come out as the children of 167 and then the children of 145?

            • 15510
            • 70 Posts
            Thank you, ganeshXL. I will try this out.