[Zope] Posting to ZWiki from DTML from within the same Plone instance

S. D. sdownie at myway.com
Tue Mar 16 11:37:44 EST 2004


In response to my plea for a simple way to route my DTML Feeback info
through Zope, Simon wrote

> Yes, if all this is one the same zope server just talk to the wiki page
directly.

Yes. I have two DTML pages, Feedback (which collects data) and SendFeedback
(which thanks the user for submitting data) that reside in the same Plone
instance as the wiki.

> Several methods in Editing.py should be helpful, you will
> probably use edit. Eg something like::

>  dtml-call "wikifolder.ExistingPage.edit(page='NewPage',
> text=reporttext, REQUEST=REQUEST)'

Thanks! But I can't find an Editing.py file anywhere in my Zope
(2.6.1)/Plone (1.0.5)/ZWiki (0.24.0) setup.

Does anything need to go into the Feedback sending page? Right now it is a
simple form:

<form onsubmit="return validate(this, order_check)" action="SendFeedback"
method="post">

Or is this DTML call something completely different?

In short, I'm not sure where the pieces go.

Thanks!

Scott






More information about the Zope mailing list