[pmwiki-users] substr markup breaks with httpvariables
edwin marte
edwin.marte at leidba.com
Thu Feb 4 13:25:36 CST 2010
I have a set of pages with a couple of page text variables (PTVs) on them
of the form yyyy-mm-dd .
I need to grab year , month and day values from them to display in another
page.
I have a page Test.0001 with (:date:2009-02-15:)
So if I point the browser to Main.Test?page=0001 (using httpvariables) and
then write {Test.{$?page}$:date} on it I get *2009-02-15* (working)
then I try {(substr {Test.{$?page}$:date} 0 4)} and I get *{Dec
*it breaks somehow , I was expecting to get 2009*.
*Any pointers on how to make substr markup work the way I'm doing it ? Any
reason why it breaks ?
Best Regards,
Edwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20100204/8891ac01/attachment.html
More information about the pmwiki-users
mailing list