thanks a lot, that works well... ill make it a point to hunt the sources, now that i know where to look :-)<br><br><div><span class="gmail_quote">On 4/25/05, <b class="gmail_sendername">Phillip Hutchings</b> &lt;<a href="mailto:sitharus@gmail.com">
sitharus@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 25/04/05, Rushabh Mehta &lt;<a href="mailto:rmehta@gmail.com">
rmehta@gmail.com</a>&gt; wrote:<br>&gt; hi. there is a manage_edit()&nbsp;&nbsp;to modify the contents of a DTML document. is<br>&gt; there anything similar for page templates? i tried manage_edit() on a page<br>&gt; template and i get an attribute error for manage_edit... the document_src()
<br>&gt; method works though....<br>&gt;&nbsp;&nbsp;thanks<br>&gt;&nbsp;&nbsp;rushabh<br><br>A quick look at<br>zope-2.7.4/lib/python/Products/PageTemplates/PageTemplate.py gives me<br>this:<br>&nbsp;&nbsp;&nbsp;&nbsp;def pt_edit(self, text, content_type):<br><br>
Where text is the new content, and content_type is self explanatory.<br><br>--<br>Phillip Hutchings<br><a href="http://www.sitharus.com/">http://www.sitharus.com/</a><br><a href="mailto:sitharus@gmail.com">sitharus@gmail.com
</a> / <a href="mailto:sitharus@sitharus.com">sitharus@sitharus.com</a><br></blockquote></div><br>