[Zope-CMF] [dev] CMF 1.4 alpha

Peter Simmons pete@bcmpweb.com
Fri, 21 Feb 2003 14:53:54 +1300

Shane or was it Tres pointed out the other day that you can also retain 
the extension by having a properties file that has keep_extension=1 in 
it. This works as well. Just thought I would point it out as it is a 
stepping stone for people to get pre 1.4 compliant.


Andrew Sawyers wrote:

>The only place in the CMF which references zpt_stylesheet is
>main_template.pt - the only change required is to update the
>tal:attributes="href here/zpt_stylesheet/absolute_url" to
>tal:attributes="href here/zpt_stylesheet.css/absolute_url"
>I've been doing this on customer gigs for over the past year with 0
>problems.  I did a quick test after the change to just ensure that a fresh
>CMFSite worked as expect (i.e. created an instance and viewed it).  The main
>reason for the change (for me at least) is to retain the extension for
>external tools.
>-----Original Message-----
>From: Dieter Maurer [mailto:dieter@handshake.de]
>Sent: Thursday, February 20, 2003 3:40 PM
>To: Andrew Sawyers
>Cc: Yuppie; Zope-CMF List; Tres Seaver; zopista@zopezen.org
>Subject: RE: [Zope-CMF] [dev] CMF 1.4 alpha
>Andrew Sawyers wrote at 2003-2-20 10:18 -0500:
> > I just did the movement of .css to FSFIle and updated the main_template.
>Be careful!
>   When I did this in a private site, the site broke...
>   While "*.css" as FSDTMLMethod swallowed the extension,
>   "*.css" as FSFile did not.
>   All references to style sheets broke as a consequence.
>Zope-CMF maillist  -  Zope-CMF@zope.org
>See http://collector.zope.org/CMF for bug reports and feature requests