[pmwiki-users] pmwiki-users Digest, Vol 10, Issue 101
Richard Crane
craner at haskins.yale.edu
Mon Apr 24 13:15:58 CDT 2006
Still can't defined my own variable
Have defined them in config.php:
# add page variable {$PageCreationDate} in format yyyy-mm-dd
$FmtPV['$PageCreationDate'] = 'strftime("%Y-%m-%d", $page["ctime"])';
$FmtPV['$VarName'] = "'variable definition'";
but they are not sustituted in a sample page:
source:
The variable is {$VarName} and the page is called {$Name} date of page is {$PageCreationDate}
output is:
The variable is {$VarName} and the page is called Work date of page is {$PageCreationDate}
So the predefined $Name is substituted, but not my additions..
Help, please ;-)
-- Richard Crane
More information about the pmwiki-users
mailing list