> Why do you want to do this?  Page Text Variables are not designed to be
> set from config.php.

> If you want to create a variable in config.php, then you should use the
> thing that was designed to do so -- that is, Page Variables.
> See http://www.pmwiki.org/wiki/PmWiki/PageVariables

Good point.

I was trying to use ReadPage to get a template containing variables,
and could not get them expanded with PagesVariables while it seemed it
would work with PageTextVariables.

But none of these options were good. I finally discovered the
FmtTemplateVars() which does exactly what I was trying to achieve
without any trouble...

Christophe

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to