[pmwiki-users] Settling link styles in a wiki group and on a page
design5 at softflow.co.uk
Sat Nov 11 13:15:42 CST 2006
Saturday, November 11, 2006, 5:45:09 PM, H. wrote:
> If so, then we should avoid explaining the wrong way first, followed
> by the right way, followed by how to make the wrong way work... etc.
good. but I think it can't be made to work. You write on the page:
In the past the "normal" mechanism for styling has been for a skin's
template file to include
<link rel='stylesheet' type='text/css' href='$SkinDirUrl/myskin.css' />
but in order to achieve the "ultimate sequence" for style loading this
requires some way for a skin author to override the PmWiki defaults.
It could be done with the following in skin.php:
$HTMLStylesFmt['skin'] = "...css overrides here...";
But this way the load order of styles is:
# skin styles
# core PmWiki styles
# recipe styles
# local/admin styles
which still leaves us with recipe styles loading later
than the skin styles, even if pmwiki core styles get overridden as you
Maybe this should be explained, as many skins are constructed this
way, and an understanding of HTMLHeaderFmt entries is asked for.
>> I also liked the old list of style sources, and reinstated it.
> I moved it to its own section.
> Now a skin author who's starting afresh only needs to read the
> introduction and one subsection. The rest is just detail for deeper
Yes. Coming together nicely.
More information about the pmwiki-users