Hallo, I've got an urgent problem. I' like to add websites by using forms which decide about the new content( upload a logo, new text,etc.). I know that's described in the CMG but the builder-script is not working. "Invalid syntax". The most import thing is to be able to clone an object and then to change the propertys. Please mail me a version that's working because tomorrow I have to show it to my boss. Thanks!!!
On Tue, 18 Jul 2000, Sven Hohage wrote:
I know that's described in the CMG but the builder-script is not working. "Invalid syntax". The most import thing is to be able to clone an object and then to change the propertys. Please mail me a version that's working because tomorrow I have to show it to my boss.
Try emailing us a cut and paste of the code you are trying to enter, as well as the line number where it is complaining about the syntax error, and perhaps we can help you figure out where things are going wrong. --RDM
Hi, i have a little problem trying to import the DemoPortal.zexp, i use Debian GNU/Linux 2.2 with debian zope package, and the DemoPortal doesn't import, i notice too that there is no "Portal" into the Add list. Any ideas? <!-- Traceback (innermost last): File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/lib/zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_importObject) File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_importObject) File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 485, in manage_importObject (Object: ApplicationDefaultPermissions) File /usr/lib/zope/lib/python/OFS/CopySupport.py, line 377, in _verifyObjectPaste (Object: ApplicationDefaultPermissions) Copy Error: (see above) --> Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com
Sven Hohage wrote:
Hallo, I've got an urgent problem. I' like to add websites by using forms which decide about the new content( upload a logo, new text,etc.). I know that's described in the CMG but the builder-script is not working. "Invalid syntax".
It sounds like you're not generating proper DTML. If you can give the DTML file and the traceback of the error, the problem can be diagnosed further.
The most import thing is to be able to clone an object and then to change the propertys.
I use <dtml-with "manage_clone(REQUEST)"> <dtml-call "manage_changeProperties(REQUEST)"> </dtml-with> to do this, where the required values are present in REQUEST. More information about manage_clone and manage_changeProperties is availiable at the Zope Quick Reference: http://www.zope.org/Members/ZQR/
Please mail me a version that's working because tomorrow I have to show it to my boss.
Digital Creation's consulting rates are availiable at: http://www.digicool.com/Solutions/ Hope that helps, -- ethan mindlace fremen Zopatista Community Liason Abnegate I!
participants (4)
-
ethan mindlace fremen -
Nestor A. Diaz L. -
R. David Murray -
Sven Hohage