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

    I’ve used this many times in Evo and previous versions of MODx, but it doesn’t seem to work in Revo.

    I’d like to promote some articles on the homepage and I’m using the following call:

    [[Ditto? &depth=`0` &parents=`15` &summarize=`3` &total=`5` &tpl=`PostSummary-Home` &filter=`ShowOnHomepage,1` ]]


    The call is outputting this message:
    No documents found.

    So yes, I have one TV called ShowOnHomepage and oen document with the filter value set to 1.

    I’m not sure what I’m doing wrong

    Thanks
      A MODx Fanatic
      • 3749
      • 24,544 Posts
      Ditto is deprecated in Revolution and I’m guessing that the &summarize parameter doesn’t work. Try switching to getResources. Most of the parameters are the same and I don’t think &summarize is necessary.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 30585
        • 833 Posts
        Thanks man.

        I’ll look into GetResources
          A MODx Fanatic
          • 31255
          • 118 Posts
          I`m stuck with same. Is there a solution to getresources?

          This is my topic:
          https://forums.modx.com/thread/?thread=80482#dis-post-445621
            Tassu, webmaster of Valokammi