[pmwiki-users] Re: Custom HTML headers

Dominique Faure dominique.faure.1 at free.fr
Thu Mar 31 16:40:21 CST 2005


At Thursday, March 31, 2005 6:31 PM [GMT+1=CET], Patrick R. Michaud wrote:
> $HTMLDoctypeFmt, $HTMLBodyFmt, etc. exist primarily for backwards
> compatibility with very old versions of PmWiki (<0.6), or for those
> odd cases where a skin isn't loaded.  If a skin is loaded from a
> template, these variables are typically not used (nor do I think
> they should be).

Sorry, I was not aware of these old version of PmWiki.

> Kludge?  Hmm, I didn't think of that as being a kludge.  :-)

I was just talking about the way you did that: IMHO, a kludge is usually 
something smart. Anyway, applying a regexp replacement on the html header 
would be required to handle regular skins, then my only(!) problem is 
when/where could I do that? Initially, I was thinking working directly from 
my markup handler but since I now should alter the skin rendering code,...
...could you please tell me where I should "plug" a kind of callback to do 
such things?

Thanks,
Dom




More information about the pmwiki-users mailing list