Re: [Zope-dev] How to include a style media=print.... CSS file?

2009-05-26 Thread Christian Theune
On Mon, 2009-05-25 at 15:48 +0200, Hermann Himmelbauer wrote: Hi, [...] What I'd like to have now is to include some other CSS-file with media=print. The zc.resourcelibrary code seems not to be able to handle this, so I'm curious how to do this: 1) Simply write this directly into my

[Zope-dev] How to include a style media=print.... CSS file?

2009-05-25 Thread Hermann Himmelbauer
Hi, I'm currently to make my application printer-friendly, thus I'd like to include a print-CSS file. Currently, I include CSS-files like that: resourceLibrary name=bspskin-lib layer=zbsp.skin.interfaces.IBSPLayer

Re: [Zope-dev] How to include a style media=print.... CSS file?

2009-05-25 Thread Martijn Faassen
Hey, Hermann Himmelbauer wrote: [snip] 1) Simply write this directly into my page template 2) Hack zc.resourcelibrary, e.g. add a ZCML-directive media 3) Use some other package I'm unaware of hurry.resource (an improved take on zc.resourcelibrary's idea) can't do this right now either, but I