[pmwiki-users] css for just one wikigroup

Hans design5 at softflow.co.uk
Fri Nov 3 13:54:51 CST 2006


Friday, November 3, 2006, 7:30:28 PM, Tegan wrote:

> Anybody have any thoughts on what I could have broken by moving it?

As far as I understand <!--HTMLHeader--> in the template:
It allows Pmwiki to insert the $HTMLHeaderFmt variable, which is an
array.
$HTMLHeaderFmt['styles'] will load any style defined with
$HTMLStylesFmt[].
$HTMLHeaderFmt will also load pub/css/local.css and any Group.css and
Group.Name.css files in pub/css/
And it will load anything else you may define using the variable into
the page head.
So if you add anything after in your skin template after
<!--HTMLHeader--> it will load after and may override settings being
loaded via the $HTMLHeaderFmt array, including the css files from
pub/css/
So it is advisable for a skin to use $HTMLHeaderFmt for loading
stylesheets, and for an admin to use local.css etc for customisations,
unless  he wants to rewrite the skin itself.


Hans





More information about the pmwiki-users mailing list