[Zope] manage_edit for Page Templates
Rushabh Mehta
rmehta at gmail.com
Mon Apr 25 07:21:18 EDT 2005
thanks a lot, that works well... ill make it a point to hunt the sources,
now that i know where to look :-)
On 4/25/05, Phillip Hutchings <sitharus at gmail.com> wrote:
>
> On 25/04/05, Rushabh Mehta <rmehta at gmail.com> wrote:
> > hi. there is a manage_edit() to modify the contents of a DTML document.
> is
> > there anything similar for page templates? i tried manage_edit() on a
> page
> > template and i get an attribute error for manage_edit... the
> document_src()
> > method works though....
> > thanks
> > rushabh
>
> A quick look at
> zope-2.7.4/lib/python/Products/PageTemplates/PageTemplate.py gives me
> this:
> def pt_edit(self, text, content_type):
>
> Where text is the new content, and content_type is self explanatory.
>
> --
> Phillip Hutchings
> http://www.sitharus.com/
> sitharus at gmail.com / sitharus at sitharus.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050425/5bb39f72/attachment.htm
More information about the Zope
mailing list