[ZPT] Re: PageTemplateFile

Axel Müller axel.mueller at amit-services.de
Wed Aug 25 02:52:00 EDT 2004


Am Mittwoch, 25. August 2004 08:24 schrieb Chris Withers:
> 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...

ZPTReference on zope.org. But that's not the point here, as far as I can see. 
What is wrong with the above sentences (beside my english and a missing 
closing brace)? 
axel

-- 
axel.mueller at amit-services.de
http://www.amit-services.de
tel (06322) 680 668
fax (06322) 680 666
mobil 0160 973 483 27


More information about the ZPT mailing list