[pmwiki-users] why does this work ?? ( was : working with page variables )

Marco Ferretti marco.ferretti at gmail.com
Wed May 17 05:42:51 CDT 2006

Hi all. 
I managed to get to my point . Now I am a little bit confused .

How comes that :
$FmtPV['$EventDate2'] = 'StripName($pagename)';
$FmtPV['$EventRealDate'] = 'strftime("%Y-%m-%d", strtotime($EventDate2)))';

doesn't work and 

$FmtPV['$EventRealDate'] = 'strftime("%Y-%m-%d", 

works ??

I mean that in the first case I am having always the same date.
My question is : is there some evaluation flow I am missing ? 

My point is that, since I need EventDate2 too for (:pagelist:) formatting, it 
seems pointless to me to evaluate StripName($pagename) twice ( not talking 
about the speed when dealing with lots of pages ... ) . What am I missing ?



Man is the only animal that blushes -- or needs to.
		-- Mark Twain
-------------- 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/20060517/4e2f16d7/attachment.bin 

More information about the pmwiki-users mailing list