[ZPT] Re: PageTemplateFile
Chris Withers
cwithers at gmail.com
Wed Aug 25 03:11:11 EDT 2004
You don't do headers and footers with ZPT, you do a page macro with some slots.
On Wed, 25 Aug 2004 08:52:00 +0200, Axel Müller
<axel.mueller at amit-services.de> wrote:
> 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
>
--
--
Simplistix
- Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the ZPT
mailing list