[pmwiki-users] repost: problem with PTV and if= date in pagelists

DaveG pmwiki at solidgone.com
Wed Jan 28 21:07:44 CST 2009



none < wrote:
> If the code worked on Peter Bowers wiki, why won't it work on ours. Can
> somebody else test to see if it's work. Maybe there's something wrong
> with our setup somehow?
The code works for me.

Why do you have the negation at the front?
   (:pagelist if="! date {(ftime %Y%m%d)}.. {=$:Timestamp}":)

If your looking for all pages with timestamp after today you need:
   (:pagelist if="date {(ftime %Y%m%d)}.. {=$:Timestamp}":)

Also, make sure:
1] The dates are in yyyymmdd format.
2] The variable :timestamp is set on the pages.

  ~ ~ Dave



More information about the pmwiki-users mailing list