I am trying to figure out how to include a dynamic CSS file so that content maintainers can add their own CSS since BXE doesn't seem to include any sort of styling functionality, very frustrating.

I am having an extremely difficult time understanding the Lenya xmaps despite working with it for the past month.  I have read the more helpful sites, but they still haven't been able to help me.  I hate to say it, but Lenya is not very friendly.

Anyway, enough ranting.  My thought was to have a CSS automatically included by page2xhtml.xsl using the line:

<link rel="stylesheet" href="" type="text/css" />

I think it should probably be located at:

$pub/content/$area/$nodepath/$nodename/thispage.css

I cannot figure out what the pipeline should be in publication-sitemap.xmap to make this include work.  I tried something like:

<map:pipeline>
  <map:match pattern="thispage.css">
    <map:read mime-type="text/css" src="" />
  </map:match>
</map:pipeline>

I just don't understand how to make this work and am tired of using trial and error trying to get Lenya to do the simplest of tasks.

Thanks.

--
Derek Harmel
:: Web Programmer
:: KCI Technologies
:: (410) 891-1746
:: [EMAIL PROTECTED]

Reply via email to