[Zope] Howto on using zpt in products
Dylan Reinhardt
zope@dylanreinhardt.com
09 Jun 2003 08:09:31 -0700
On Mon, 2003-06-09 at 03:04, Sean K wrote:
> I am updating a product and as part of that update I
> would like to use zpt for all of my presentation.
>
> I have googled for a howto on this subject but have
> not found one.
The process is virtually the same. Instead of:
------
from Globals import DTMLFile
[...]
DTMLFile(path, globals())
------
use:
------
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
[...]
PageTemplateFile(path, globals())
------
HTH,
Dylan