Shane McChesney wrote:
It talks about using the LINK tag to incorporate external CSS that is still an editable Zope object, exactly what I want, but it's a DTML object, and I'm not sure how to replicate this line in a ZPT:
From: http://www.zope.org/Members/mindlace/css_zope ---------------------------------------------- IMPORTANT: You must have the following line as the first line of your method:
<dtml-call "RESPONSE.setHeader('Content-Type', 'text/css')"> ----------------------------------------------
How can I have a ZPT act as my external stylesheet and set that response header? That is, how do I emulate the dtml-call above in a ZPT?
Unfortunately, ZPT works only with xml/html. You have to use DTML for cascading style sheets. ~mindlace