[ZPT] PageTemplateFile

Chris Withers chris at simplistix.co.uk
Tue Aug 24 02:27:23 EDT 2004


Hi Axel,

Axel Müller wrote:
> -----
> standardHeader = PageTemplateFile('Pfad/zu/standardHeader',globals())
> -----
> metal macros are ok
> 
> -----
> def standardHeader(self):
>  """standardHeader"""
>  return PageTemplateFile('Pfad/zu/standardHeader',globals())
> -----
> metal macros don't work, files without metal work fine

Can you tell us what happens when you try?

cheers,

Chris

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


More information about the ZPT mailing list