[pmwiki-devel] Page Vars - A Little Help?
Hans
design5 at softflow.co.uk
Fri Mar 25 07:07:31 CDT 2011
Friday, March 25, 2011, 11:27:36 AM, Eemeli wrote:
> In your function, $FmtPV hasn't been made a global, so you end up
> creating a local variable with $FmtPV['$price'] = "$price"; that goes
> out of scope at the end of the function.
Even if $FmtPV is declared global
I don't think you can set an entry to $FmtPV in a function called by
markup, and have it evaluated in the page, because it comes much too
late in the page rendering process.
Or am I wrong here?
Hans
More information about the pmwiki-devel
mailing list