rieh25 wrote:
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 variable
Thanks for the help. I found it's done with .pt_edit(text, content_type)
--
View this message in context:
http://www.nabble.com/Modify-contents-of-a-page-template-through-a-python-script-tf3688038.html#a10313689
Sent from the Zope - General mailing list archive at Nabble.com.
__
- Original Message -
From: "rieh25" <[EMAIL PROTECTED]>
To:
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
contro
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
t
+---[ rieh25 ]--
|
| I need to modify the contents of a page template through a python script. Or
| create a new page template object with content specified in the python
| script. Thanks.
No you don't d8)
You can simply pass a variable into a page template and render it