[Zope] editing content-type text/css?
Kevin Dangoor
kid@kendermedia.com
Thu, 26 Aug 1999 14:47:48 -0400
If you uploaded the stylesheet as a "File" object, you won't be able to edit
it. File objects are most commonly binary data.
If you create the style sheet as a DTML Document or DTML Method, you'll be
able to edit the text.
You will want to add a line like:
<dtml-call "RESPONSE.setHeader('content-type', 'text/css')">
Kevin
-----Original Message-----
From: Ethan Fremen <mindlace@majordomo.net>
To: zope@zope.org <zope@zope.org>
Date: Thursday, August 26, 1999 2:21 PM
Subject: [Zope] editing content-type text/css?
>zopes,
>
>I imported my stylesheet that is called with the <link> tag in all my
>documents.
>
>I intend to continue doing this, as AFAIK the browser can download one
>instance of the css document and use it for all further documents that
>refer to it.
>
>This is opposed to what I see at some Zoped sites, where style is an
>object that's included as a <STYLE > tag. I'd like to avoid this because
>it requires that the CSS be downloaded with each page.
>
>Anyway, why doesn't zope (v.2.0.0b5) let me edit the text of the CSS
>file?
>
>thanks,
>
>~mindlace
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(To receive general Zope announcements, see:
>http://www.zope.org/mailman/listinfo/zope-announce
>
>For developer-specific issues, zope-dev@zope.org -
>http://www.zope.org/mailman/listinfo/zope-dev )
>