[ZPT] PageTemplateFile
Axel Müller
axel.mueller at amit-services.de
Mon Aug 23 08:56:19 EDT 2004
Hi,
to add some kind of "skins" to my products I would like to give
PageTemplateFile() different paths to load files from, but there is a
problem:
-----
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
thanks in advance for every hint,
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