i have a newslisting on my home page that looks like this:
[[NewsListing? &startID=`47` &summarize=`6` &total=`6` &tpl=`eventListingHome` &sortby=`tvtestSort` &sortdir=`asc` &truncText=`More` &filter=`tvtestSort,>[[unixtime]],1`]]
But I’m not getting the results I expected. [[unixtime]] is a snippet that does that, returns the unixtime. So the idea is that this would show items after (or before) the current unixtime. I can compare the value of the tv, testSort, and the unixtime returned by the snippet, and it isn’t working. Depending on the last argument to filter, it either turns up all or none of the items, but there are values stored that are both higher and lower.
It occured to me that the NewsListing might not be able to parse the embedded snippet, although i wasn’t sure why, but in any case, wrote another snippet that outputs the same text to the page, but substitutes mktime() for the [[unixtime]], and concatenates the whole together before writing it to the page, but that doesn’t work either.
Any ideas why?