[pmwiki-users] Problems with the embedded CSS in pmwiki.php

marc gmane at auxbuss.com
Tue Nov 7 10:28:30 CST 2006


Patrick R. Michaud said...
> On Thu, Nov 02, 2006 at 04:30:08PM -0000, marc wrote:
> > Patrick R. Michaud said...
> > > What we ultimately want is this sequence:
> > > 
> > >     a. core PmWiki styles
> > >     b. recipe styles
> > >     c. skin styles
> > >     d. local/admin styles
> > 
> > Yup, that's the setup I'm using.
> >  
> > > But since <!--HTMLHeader--> is responsible for a, b, and d, the only
> > > way to get skin.css in the correct location--that is, after core and
> > > recipe styles but before local/admin styles--is to either have the
> > > skin manipulate $HTMLHeaderFmt via skin.php (#2 of my earlier
> > > message) or for the core to define a "automatically load skin.css" 
> > > rule to put the skin's css file in the appropriate location (#3
> > > in my earlier message, the one you said you were missing something).
> > 
> > Okay, is there a way that to implement, say:
> > 
> >   <!--HTMLHeader skin='skin.css'-->
> 
> Not without significantly changing the way that PmWiki processes
> the HTMLHeader directive.  I'd rather just leave it to the skin.php
> to solve by manipulating $HTMLHeaderFmt, or come up with a generic 
> "automatically load skin.css" stage.

No problem. Thanks for looking at it.

-- 
Best,
Marc





More information about the pmwiki-users mailing list