[Zope-CMF] CMFDecor problem finding zpt_stylesheet
Thomas Olsen
tol@tanghus.dk
Mon, 13 Aug 2001 12:59:48 +0200
You have to make sure you have the latest CMFCore from the cvs.
FSDTMLMethod.py has to have this at the end of the file:
Globals.InitializeClass(FSDTMLMethod)
registerFileExtension('dtml', FSDTMLMethod)
registerFileExtension('css', FSDTMLMethod)
registerMetaType('DTML Method', FSDTMLMethod)
On Sunday 12 August 2001 20:53, Dieter Maurer wrote:
> waltonl writes:
> > ....
> > But, I get an error when I try to view things that says :
> > Error Type: Undefined
> > Error Value: "zpt_stylesheet" not found in
> > "here/zpt_stylesheet/absolute_url"
> >
> > There is a file in my zpt_generic directory called zpt_stylesheet.css.
> > Do I have to do something to add it somehow? Is this a step that is left
> > out of the Install.py? It's not mentioned in the
> > http://cmf.zope.org/Members/teyc/skinPageTemplate/view either.
>
> Apparently, it is a naming mismatch.
>
> Either rename "zpt_stylesheet.css" into "zpt_stylesheet"
> or change the reference "here/zpt_stylesheet/absolute_url"
> into "here/zpt_stylesheet.css/absolute_url".
>
> It may be that only one of these two approaches will work...
>
>
>
> Dieter
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests
--
Regards,
Thomas Olsen