[pmwiki-users] (:if date

Marco Ferretti marco.ferretti at gmail.com
Thu May 25 05:16:45 CDT 2006


Hi all.

I want to create a new markup starting from (:if date :) markup ( see my post 
"(:pagelist :) : need to filter by strange stuff .." ) .

What I want it to act like is to test, instead of against the current date, 
against a date passed as parameter : 

(:if date2 TEST DATE1..DATE2 :)

so that I can test 

(:if date2 $ctime DATE1..DATE2 :)

I was looking at stdmarkup.php, and it looks like easy to create a new 
function starting from 

function CondDate($condparm)

What I am missing is where the (:if date :) is defined.


sorry if it looks trivial to you, but I am trying to learn php & pmwiki.



TIA

Marco

-- 
Stay away from flying saucers today.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20060525/03782097/attachment.bin 


More information about the pmwiki-users mailing list