[pmwiki-users] experimental - pagelist conditionals

Patrick R. Michaud pmichaud at pobox.com
Wed May 2 08:37:27 CDT 2007


On Wed, May 02, 2007 at 10:47:51AM +0200, Jiri Hladůvka / OBUTEX wrote:
> 
> Patrick R. Michaud napsal(a):
> >I'm experimenting with a couple of new features, and looking
> >for feedback.
>
> Will this work with PTV e.g.
> (:if date 2007-05-01..2007-05-31 {*$:MyDate} :)
> (:pagelist group=MyGroup $:MyDate=?* if="date 2006-01..2006-12 
> {$:MyDate}" :)

Yes.  The first would evaluate true if the $:MyDate field of
the current page is in May 2007.

The second would list only those pages that have a $:MyDate
value in the year 2006.

Pm



More information about the pmwiki-users mailing list