[pmwiki-users] Set a PageTextVariable from config.php
Christophe David
pmwiki at christophedavid.org
Fri Jul 6 08:05:51 CDT 2007
Instead of defining a Pagetextvariable as
(:Country: Transylvania :)
to retrieve it in a page with
"{$:Country}" ,
I would like to set 'Country' in config.php.
>From pmwiki.php (PageTextVar function), I guess something like
$PCache['Group.Page']["=p_Country"] = 'Transylvania';
should work, but it does not.
Would someone have an idea how to make it work ?
Christophe
More information about the pmwiki-users
mailing list