We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3232
    • 380 Posts
    I’m having trouble with Ditto and filtering results

    I have a 3 document in a folder called awaken. Right now Ditto is showing all documents including article 1 page one’s children.

    How would I go about just listing awakens children, not its children’s children?

    The code I am using is ..

    [[Ditto? &startID=`39` &summarize=`5` &total=`20` &tpl=`ArticleListingTemplate` &truncText=`Read more...` $showPublishedOnly=`1` $paginate=`1` $descendentDepth=`0`]]
      • 33337
      • 3,975 Posts
      try with this call:
      [!Ditto? &startID=`39` &summarize=`5` &total=`20` &tpl=`ArticleListingTemplate` &truncText=`Read more...` &showPublishedOnly=`1` &paginate=`1` &descendentDepth=`1`!]
      


      Remember, its & not $, and when you use &paginate, call the snippet uncached, [!...!]
      hope it helps.

      regards.

      zi
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link