[Zope] ZPT file reader

Dieter Maurer dieter at handshake.de
Mon Nov 10 14:23:52 EST 2003


Andre Meyer wrote at 2003-11-10 16:54 +0100:
 > I am trying to make an Application using external Python code and ZPT. In
 > the examples I have, DTML is used and those files are read using HTMLFile()
 > or DTMLFile(). What is the appropriate method for reading ZPTs?

"Products.PageTemplates.PageTemplateFile.PageTemplateFile".

 > BTW Where can I find the API documenation for looking this up? I could not
 > find anything on the Zope web site.

In this specific case, I would have been a good idea to
look into the package implementing page template
(i.e. "Products/PageTemplates").

-- 
Dieter



More information about the Zope mailing list