[pmwiki-users] HTMLStylesFmt

Patrick R. Michaud pmichaud at pobox.com
Sun Jul 31 08:37:48 CDT 2005


On Sun, Jul 31, 2005 at 11:57:27AM +0100, Hans wrote:
> How do I turn off styles defined with $HTMLStylesFmt['name']?
> 
> I added to config.php
> 
> $HTMLStylesFmt['wikistyles'] = "";
> 
> to disable the styles set with $HTMLStylesFmt['wikistyles']
> in script/wikistyles, so I can use my own defined styles from
> pub/css/local.css
> but it does not switch them off.

Oops, I have the setting wrong in script/wikistyles.php -- the
above should work.  It'll be fixed for the next release.

As an aside, one can turn off $HTMLStylesFmt entirely by setting

    $HTMLHeaderFmt['styles'] = '';

which may or may not be a simpler mechanism for what you want.

Pm





More information about the pmwiki-users mailing list