[pmwiki-users] Calendar / Event list

Firefly stealth at fireflyuk.net
Fri Mar 31 04:40:36 CST 2006


Wait I know this will show the top 5 events not the ones neares to today..

Can I put after the name=caln.{todaysdate in yyyymm]* or something like that

-----Original Message-----
From: pmwiki-users-bounces at pmichaud.com
[mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Firefly
Sent: 31 March 2006 11:24
To: 'Hans'
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] Calendar / Event list

(:pagelist list=normal name=caln.2006* fmt=#titleline count=5 order=-name:)

Here we go that works

http://www.fromunda.34sp.com/index.php?n=Main.News

tell me what u think Hans.

-----Original Message-----
From: Hans [mailto:design at softflow.co.uk] 
Sent: 31 March 2006 10:49
To: Firefly
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] Calendar / Event list

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.


Best,
 Hans                           

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/298 - Release Date: 30/03/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/298 - Release Date: 30/03/2006
 


_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://host.pmichaud.com/mailman/listinfo/pmwiki-users

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/298 - Release Date: 30/03/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/298 - Release Date: 30/03/2006
 





More information about the pmwiki-users mailing list