[pmwiki-users] How to get a variable into a page
Richard Crane
craner at haskins.yale.edu
Fri Apr 21 16:17:12 CDT 2006
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
More information about the pmwiki-users
mailing list