Because Im working with a calendar, I have a TV based on the UNIXTIME widget.
I am looking on a set of pages based on the TV and sorted - how can I only get the records that are >= today?
Thanks
Rich
-
☆ A M B ☆
- 427 Posts
Not sure if you need that widget at all.
A thought would be to delve into the api and just write a simple little snippet to do the data check.
http://www.modxcms.com/the-document-object.html
Are the documents actually published or created? Or are they pulled from a separate database Or Google calendar or what?
In any case a simple snippet should do it for you.
Hi - thanks for the replies.
My calendar info is based on modx pages, so using Ditto would be the way to do.
My date is based on a TV called Event_Date.
I don’t really get how to use the filter, even with the lengthy page provided and I can’t find a solid example of its usage anywhere.
How would I for example, get all the events that are within December, of 2008?
Any help on this would be great.
Rich