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

    I call Ditto like that:
    [[Ditto? &tpl=`chunk` &paginate=`1` &summarize=`10` &sortBy=`publishedon` &sortDir=`desc`]]

    and see ’No results’

    but [[Ditto? &tpl=`ditto_li_news2` &paginate=`1` &summarize=`10` &sortBy=`createdon` &sortDir=`desc`]] works.

    What does it mean?
      • 22019
      • 390 Posts
      Unless you have a chunk called ’chunk’ then it will display nothing in the first case.

      As I understand things, you should probably be moving over from Ditto to getResources for Revo. If you call getResources with a blank or missing tpl you would see an array output of the resources found.
        Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86