[Pmwiki-users] [PATCH] Allow setting of BasicLayoutVars in local/group/page config
Ari Pollak
ajp
Mon Jun 21 07:55:48 CDT 2004
> tlayout.php doesn't check if variables are previously set because this would
> make it difficult to use the template to set variables that *are* already
> set, such as $PageEditFmt. Yes, there are sites that use the templates in
> this way.
How come $PageEditFmt gets set even though it just gets overwritten later?
>
> At present, an easy way to customize the BasicLayoutVars in a config file
> is to simply do
>
> include_once("$FarmD/scripts/tlayout.php");
>
> prior to doing any local settings.
Yeah, I had originally been doing that, but this seemed like a bug to me.
More information about the pmwiki-users
mailing list