We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29860
    • 59 Posts
    Hi
    I have a ditto call that returns a list of offers, but sometimes we dont have offers. So I would like to check if the ditto call returns a result else I’ll call another ditto call or show a preset chunk.

    Cheers
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      &noResults
      Pur: no result returning text
      Opt: $_lang[’no_documents’] | {{chunk}} | text
      Def: $_lang[’no_documents’]
        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