[ZPT] how to call ZPT from a product

Peter Bengtsson mail@peterbe.com
Tue, 23 Oct 2001 20:10:56 +0200


from Products.PageTemplates.PageTemplateFile import PageTemplateFile
manage_addTimeTableForm =3D PageTemplateFile('zpt/addTimeTableform', =
globals())

where you have a file called addTimeTableform.zpt in a folder called =
zpt.



> Hi there,
> I would like to call a page template in  product instead of a =
dtml-file.
>=20
> what do I have to call instead of
>=20
> manage_results =3D DTMLFile('dtml/electionResultForm', globals())
>=20
> and what do I have to include??
>=20
> thanks
> Robert
>=20
>=20
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt