[ZPT] Re: PageTemplateFile

Chris Withers cwithers at gmail.com
Wed Aug 25 02:24:27 EDT 2004


Axel Müller wrote:
> This wouldn't work for me, because every root-folder would have the same
> "standardHeader":
> -----------
> class A:
>  standardHeader = PageTemplateFile('Pfad/zu/standardHeader',globals())
> -----------
> It is making "standardHeader" a PageTemplateFile object as an
> class-attribute of A.

Woah, you need to go read about metal macros before trying anything else...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZPT mailing list