We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31074
    • 14 Posts
    Ok, here’s the thing:
    I got a list of events & at one point I only wanna show the ones that take place in the current month. I have a TV called’Pr01Date’ in unixtime format (for sorting), now with the ditto call below, it doesn’t display events for the current month, but only for the current day (so for instance 08 november is shown).

    [!Ditto? &parents=`6` &tpl=`progListHome` &dateFormat=`%d.%m` &sortBy=`Pr01Date` &dateSource=`Pr01Date` &filter=`Pr01Date,08,7` &sortDir=`ASC` !]

    I’ve tried several things, but none of them worked. Anyone gotta (quick?) solution, plz??
      • 16278
      • 928 Posts
      You could use the Ditto DateFilter extender, with &dateFilterDefault=`2` for "current year and month". Documentation on Ditto site and Pogwatch.
      smiley kp
        • 31074
        • 14 Posts
        Cool, that works like charm! Thnx!!!! smiley
        Tried that one before, but used wrong syntax; feeling kinda stupid now... embarrassed