> How can I upload/change an image in my zodb using custom forms. A call to
> "manage_upload" seems to always take me to a feedback form saying "Your
> changes have been saved.". How can I upload using customized forms _only_?
>
<dtml-call "_.getitem(myID).manage_upload(myFile)">
For the myID in the form you type in the ID of the object. Always remember to
"_.getitem" this, since it's an object.
together with
<form action=<dtml-var URL> method=post enctype="multipart/form-data">
<input type=file name=myFile>
<input name=myID>
<input type=submit value="Good Luck!">
</form>
NOTE.
If you want to do the
> tia Danny
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announcehttp://lists.zope.org/mailman/listinfo/zope-dev )