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

2007-05-04 Thread Chris Withers
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

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

2007-05-03 Thread rieh25
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. __

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

2007-05-03 Thread Jonathan
- 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

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

2007-05-03 Thread rieh25
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

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

2007-05-03 Thread Andrew Milton
+---[ 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