[Zope] Modify contents of a page template through a python script

Jonathan dev101 at magma.ca
Thu May 3 15:57:19 EDT 2007


----- Original Message ----- 
From: "rieh25" <robertoedwins at gmail.com>
To: <zope at zope.org>
Sent: Thursday, May 03, 2007 3:14 PM
Subject: Re: [Zope] Modify contents of a page template through a python 
script


>
> The reason why I need this is because I'm working in an application that
> controls various aspects of applications (menu's, security, forms, etc.),
> and wanted to automatically generate zpt's too. But I do need to alter the
> actual zpt's (that way they are customizable through variables, in regards
> to aspects that are extraneous to the functionality of my application).

Have a look at the pt_editAction method of Products.PageTemplates module.


Jonathan 



More information about the Zope mailing list