[Zope] problem with ZUBB / no topic set
Hello, after installing ZUBB (ZDiscussions 0.6. right?) everything works fine with the single exception that the topic of no message gets set. That means, after posting, all messages show "(no subject)". The message preview HTML source still shows the correct value in the hidden input form tag named "title". Could the problem be a clash between the "title" form entry and the title of another Zope object? I am using ZDiscussions-0.6 and Zope 2.3.0. thanks --Oliver ___ 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-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Problem with LocalFS (_local_path)
Hi, I am trying to install LocalFS 0.9.6 on Zope 2.3.0 and get the following error: Error Type: AttributeError Error Value: _local_path Traceback (innermost last): File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /opt2/Zope-2.3.0-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__ (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.py, line 353, in _bindAndExec (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/App/special_dtml.py, line 236, in _exec (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_In.py, line 711, in renderwob (Object: objectItems) File /opt2/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: sequence-key) File /opt2/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_Var.py, line 271, in render (Object: bobobase_modification_time) File /opt2/Zope-2.3.0-src/lib/python/Products/LocalFS/LocalFS.py, line 979, in bobobase_modification_time (Object: rafiles) AttributeError: (see above) this seems to add the localfs but makes listing the contents of the containg folder impossible. What's ging on here? thanks --Oliver ___ 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-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Invalid Date-Time String
Unfortunately I am getting an "Invalid Date-Time String" error when calling the manage_editProperties. I tried some possible solutions from the mailing lists but failed so far, e.g. using ZopeTime or ZopeTime().DateTime() Any help? ... dtml-let x="ZopeTime().strftime('InsertYourFormat')" dtml-call REQUEST.set('date1', x) dtml-call "propertysheets.prop.manage_editProperties(REQUEST)" dtml-let I hope that helps. unfortunately it didn't. now I am stuck :( --Oliver ___ 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-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Invalid Date-Time String
hello, I have a ZClass called "thema" with some date properties to change creation/ modification dates independent of bobobase_modification_time. So I try to set one date property called "date1" equal to the current time of creation: dtml-with "manage_addProduct['RadioObjects']" dtml-with "thema.createInObjectManager(ZopeTime().strftime('%Y%m%d%H%M%S'), REQUEST)" dtml-call "REQUEST.set('date1', ZopeTime())" dtml-call "propertysheets.prop.manage_editProperties(REQUEST)" /dtml-with /dtml-with /dtml-with Unfortunately I am getting an "Invalid Date-Time String" error when calling the manage_editProperties. I tried some possible solutions from the mailing lists but failed so far, e.g. using ZopeTime or ZopeTime().DateTime() Any help? thanks Oliver ___ 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-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] LocalFS from DTML
Hi, how can I use the LocalFS product programmatically, i.e. add new files using DTML, then get back to the index_html of the calling folder, instead of using manage_upload? I do the same thing with images using my own form and this DTML code: dtml-call "manage_addImage(REQUEST['id'],file=REQUEST['file'])" dtml-call "RESPONSE.redirect('index_html')" thanks --Oliver ___ 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-announce http://lists.zope.org/mailman/listinfo/zope-dev )