We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22213
    • 52 Posts
    The title says it. I have a tv with a unixtime in it. If I want Ditto to return values greater than right now, Ditto doesn’t understand a nested snippet call such as

    [[Ditto? &parents=`47` &sortBy=`testSort` &sortDir=`ASC` &filter=`testSort,[[unixtime]],6` ]]
    


    where [[unixtime]] refers to a snippet that returns the unixtime. The objective would be to return items later than right now.
      Web Designer
      PHP Programmer
      Cocoa Developer
      Boulevardier & Arriviste
      • 25663 MODX Staff
      • 12,272 Posts
      You’d have to alternate cached and uncached calls:

      [!Ditto ... [[unixtime]] !] (or vice versa)
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me