[pmwiki-users] Display a page depending on month

Simon s-i-m-o-n at paradise.net.nz
Tue Mar 7 01:31:21 CST 2006

Thanks, I'd prefer not to have to remember to update it every year,
other than that ...
perhaps some others could speak up for partial dates ...


Patrick R. Michaud wrote:
> Try:
>     (:if date 2006-01-01..2006-01-31:)(:include Page/January:)
>     (:if date 2006-02-01..2006-02-28:)(:include Page/February:)
>     (:if date 2006-03-01..2006-03-31:)(:include Page/March:)
> When we created the conditional date markup I had also proposed
> that we allow partial dates, but others on the list indicated that
> it had too much potential to be confusing.  If we did that, then one
> could do:
>     (:if date 2006-01:)(:include Page/January:)
>     (:if date 2006-02:)(:include Page/February:)
>     (:if date 2006-03:)(:include Page/March:)
> Pm

More information about the pmwiki-users mailing list