[pmwiki-users] about PITS/00624 (keywords)

Patrick R. Michaud pmichaud at pobox.com
Fri Jan 27 07:30:30 CST 2006


On Fri, Jan 27, 2006 at 11:43:45AM +0000, Hans wrote:
> Friday, January 27, 2006, 11:35:04 AM, blues wrote:
> > the problem is that the line
> > $HTMLHeaderFmt['meta'] = 'function:PrintMetaTags';
> > appears in the stdmarkup.php which is called AFTER the
> > local customization in config.php.
> > so any value that i set to $HTMLHeaderFmt['meta'] is
> > restored from inside stdmarkup.php to the default value.
> 
> Then till the time it is set as SDV (ask Pm)
> you would need to load stdmarkup.php explicitly and before you set
> your custom format. so use
>   include_once("$FarmD/scripts/stdmarkup.php");
> 
> as far as i know it will not later again. But i have not tested this.

It's okay to load stdmarkup.php explicitly (it's designed for this,
for sites that need to do things *after* the standard recipes are
loaded).  And no, it doesn't get loaded again later -- that's what
the "once" means in "include_once".  :-)

Pm




More information about the pmwiki-users mailing list