[pmwiki-users] Calendar / Event list

Hans design at softflow.co.uk
Fri Mar 31 03:48:50 CST 2006

Friday, March 31, 2006, 10:03:44 AM, Firefly wrote:
> Upcomming Events
> (:pagelist list=normal name=caln.2006* fmt=#title count=5 order=-ctime:)

order=-ctime lists the latest created pages first.
So if you create event pages with names yyyymmdd or yyyy-mm-dd
for say the next 20 events it will list only the latest ones, which
may not be the next upcoming events.

The problem is really to list only the next upcoming event, so we need
to compare today's date with the dates in titles of event pages.
When these pages are created should be irrelevant, so ctime is no use.


More information about the pmwiki-users mailing list