[pmwiki-users] How to get a variable into a page
Tom
celok at gmx.net
Wed Apr 26 07:14:07 CDT 2006
Hi Richard,
unfortunatly i can't see why this wouldn't work. I copied your
declarations and they work for me.
*clueless*... sorry.
--
Tom
Richard Crane schrieb am 21.04.2006 23:17 Uhr:
> I want to insert a calculated value into the text of a group header.
>
> I copied the examples from http://www.pmichaud.com/wiki/PmWiki/PageVariables:
>
> $FmtPV['$VarName'] = "'variable definition'";
> $FmtPV['$PageCreationDate'] = 'strftime("%Y-%m-%d", $page["ctime"])';
>
>
> into local/config.php.
>
> then added a line
>
> The variable is {$VarName} and the page is called {$Name} date of page is {$PageCreationDate}
>
> to a test page, but there is no substitution of $VarName or $PageCreationDate;
> $Name is replaced with the page name.
>
> What am I missing?
>
> Thanks,
>
> Richard Crane
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
More information about the pmwiki-users
mailing list