[pmwiki-users] Display a page depending on month

Simon s-i-m-o-n at paradise.net.nz
Sat Mar 4 21:03:49 CST 2006


I would like to achieve something along the following lines.
I have a page, say Page/CurrentEvents,
on which I wish to show this months activities.
Could anyone suggest a way of doing this.
The page Page/CurrentEvents might look like this, say


(:if date JANUARY:)(:include Page/January:)(:ifend:)
(:if date FEBRUARY:)(:include Page/February:)(:ifend:)
(:if date MARCH:)(:include Page/March:)(:ifend:)

you get the idea



Simon

See also http://pmwiki.org/wiki/PmWiki/ConditionalMarkup

http://ttc.org.nz/fixture.html (note this is NOT a wiki page)




More information about the pmwiki-users mailing list