[Zope] where does ZOPE store users created objects

2007-06-10 Thread kamal hamzat
Hello, Please i want to know the physical path on my Zope installation where Zope stored the objects (such as dtml methods and documents) created by the users. When i searched for the .dtml extension on my computer, I could not see anyone created by me or other users from the list of objects

Re: [Zope] where does ZOPE store users created objects

2007-06-10 Thread kamal hamzat
Hello, Please i want to know the physical path on my Zope installation where Zope stored the objects (such as dtml methods and documents) created by the users. When i searched for the .dtml extension on my computer, I could not see anyone created by me or other users from the list of

[Zope] Creating a ZCatalog to catalog the newly created objects using ZClasses

2007-06-10 Thread kamal hamzat
Hello, I was reading and following the zope book to Creating a ZCatalog to catalog the newly created objects using ZClasses while this message was displayed. ZClasses are a deprecated feature and should no longer be used for new projects. Instead use either through-the-web scripting with Zope

[Zope] RuntimeError:maximum recursion depth exceeded

2007-06-10 Thread kamal hamzat
Hello, After successfully created News Item ZClass from the example from the zope book. When I selected News Item from the Add list, this is the error msg displayed Error Type: RuntimeError Error Value: maximum recursion depth exceeded. Pls help.

[Zope] Auto Cataloging my ZCatalog

2007-06-15 Thread kamal hamzat
Hello, I have a ZCatalog that my users use to catalog there news articles which are (DTML Documents). I have already explained it to them to always input the id for the new DTML Documents under with ids section on the Find Objects tab on the ZMI to catalog new articles. But most time they will

Re: [Zope] Auto Cataloging my ZCatalog

2007-06-17 Thread kamal hamzat
- Original Message - From: Jonathan [EMAIL PROTECTED] To: kamal hamzat [EMAIL PROTECTED]; zope@zope.org Sent: Friday, June 15, 2007 5:58 PM Subject: Re: [Zope] Auto Cataloging my ZCatalog - Original Message - From: kamal hamzat [EMAIL PROTECTED] To: zope@zope.org Sent

[Zope] Using Epzo with DTML Document Objects in ZMI

2007-06-21 Thread kamal hamzat
I use DMTL Document Objects in ZMI to store my news articles, how can i be able to use Epzo to edit my article content inside ZMI. Thanks. kamal___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Auto Cataloging my ZCatalog

2007-06-21 Thread kamal hamzat
visitors want to view the old or previous artcles, the archive_catalog is use to serve it. I will appreciate any assistance you could render to me. thanks - Original Message - From: Joerg Baach [EMAIL PROTECTED] To: kamal hamzat [EMAIL PROTECTED] Sent: Monday, June 18, 2007 4:38 PM

[Zope] python function to know the total number of records in a catalog object

2007-06-24 Thread kamal hamzat
Hi, I need a python script or function to get the total number of records in a zcatalog. Thanks Kamal___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Zope products that allows people to Add Comments to publications

2007-06-25 Thread kamal hamzat
Hello, Is there any zope product that allows visitors to Add Comments to the news / articles, just like the one in plone. Thanks___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] Zope products that allows people to Add Comments to publications

2007-06-25 Thread kamal hamzat
hamzat Cc: zope@zope.org Sent: Monday, June 25, 2007 8:14 PM Subject: Re: [Zope] Zope products that allows people to Add Comments to publications check out http://www.squishdot.org On Jun 25, 2007, at 3:00 PM, kamal hamzat wrote: Hello, Is there any zope product

Re: [Zope] Zope products that allows people to Add Commentsto publications

2007-06-27 Thread kamal hamzat
Then what i have done wrong to be getting the error and how do i correct it. Error Type: TypeError Error Value: unbound method mailhost_list() must be called with SquishSite instance as first argument (got nothing instead) Traceback (innermost last): a.. Module ZPublisher.Publish, line 119,

[Zope] using smart folder to pick certain number of news articles to display in the home page

2007-06-30 Thread kamal hamzat
Hello All, I have folders containing the news articles, I have created a smart folder in the root that allows me to display these articles in the homepage of my website. How can I can I set up the smart folder so that just the first two articles that matched my criteria from each folder are

Re: [Zope] using smart folder to pick certain number of news articles to display in the home page

2007-07-01 Thread kamal hamzat
Thanks so much Martjin. I would appreciate it if anybody that has done something similar could share their experience with me. Regards. kamal - Original Message - From: Martijn Pieters [EMAIL PROTECTED] To: kamal hamzat [EMAIL PROTECTED] Cc: zope@zope.org Sent: Saturday, June 30

[Zope] IndexError

2007-07-23 Thread kamal hamzat
Hi, I am having IndexError in some of my folders when i tried to view the content of Zcatalog created in these folders, but to my surprise this is not happening in other folders with similar Zcatalog. I am also not experiencing the same problem with objects of the old Zcatalog that I have

Re: [Zope] IndexError

2007-07-31 Thread kamal hamzat
When I cleared the catalog and re-catalog with particular id it worked fine but when i created a new object and catalog based on my new object id, the indexError is showing again. Kamal - Original Message - From: Jonathan [EMAIL PROTECTED] To: kamal hamzat [EMAIL PROTECTED]; zope

[Zope] How do i test sequence-number

2007-09-28 Thread kamal hamzat
Please what is wrong with this code: dtml-in newsSummary dtml-var sequence-number dtml-if expr=dtml-var sequence-number = 5 a href=dtml-absolute_url; dtml-var title/abr / brbrdtml-var author dtml-var summarybrbr /dtml-if /dtml-in This the error i got invalid syntax (, line 1) Thanks

[Zope] how do I test for the current item in an iteration

2007-09-28 Thread kamal hamzat
Dear All, I have this error after i added the if statement Error Type: TypeError Error Value: mybrains.__cmp__(x,y) requires y to be a 'mybrains', not a 'int' for i in context.zCatNewsCurrent(): if i = 5: print %s: %s: %s % (i.id, i.author, i.summary) return printed

[Zope] From DTML to ZPT i need help

2007-09-28 Thread kamal hamzat
I have been having issue converting this code in DTML to ZPT. dtml-in news.zCatNewsCurrent() dtml-let article=absolute_url dtml-if expr=_.int(article[46:48]) 5 div a href=dtml-var expr=article[0:48] class=link3 dtml-var title /adtml-var author br

[Zope] value problem in textarea and input

2007-10-03 Thread kamal hamzat
Dear All, I am having problem when using input and textarea input type=text name=summary size=40 value=# tal:attributes=value here/summary|nothing / when i submitted the form and loaded it back the summary shown in the input tag, may be because value is part of input attributes.

[Zope] Epoz Document: Inconsistence behavior

2007-10-04 Thread kamal hamzat
Dear All, I using Epoz Document to store my article contents, and sometimes it will work and at another time it will not work. Although i have added 2 more fields (author and summary) to the manage_editForm, but I do not want to believe that this is what is causing this problem. I was

[Zope] object Last Modified Date Time

2007-10-05 Thread kamal hamzat
Dear All, I want to store the object Last Modified in ZCatalog so i created a FieldIndex with name bobobase_modified_time. When i checked the Zcatalog the space for bobbase_modified_time is empty. Thx kamal.___ Zope maillist - Zope@zope.org

Re: [Zope] python function to know the total number of records in a catalog object

2007-10-15 Thread kamal hamzat
Products.PythonScripts.PythonScript, line 327, in _exec g.. Module None, line 1, in sizeZcat PythonScript at /nation/news/sizeZcat Line 1 NameError: global name 'zCatArticlesCurrent' is not defined - Original Message - From: Andreas Jung [EMAIL PROTECTED] To: kamal hamzat [EMAIL PROTECTED]; zope@zope.org Sent: Sunday

[Zope] why zope is rendering apostrophe as a small square box

2007-10-16 Thread kamal hamzat
Hi, Please what can I do to stop zope showing apostrophe in my content as a small square box. I am running Zope 2.10.4, python 2.4.4 on a windows server. Thanks. Kamal.___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **

[Zope] error: (10060, 'Operation timed out')

2007-11-12 Thread kamal hamzat
Hi, I am getting this error when using MailHost on my zope set up. I am using Zope 2.10.4-final, python 2.4.4, win32. Thanks for your help. Kamal Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module

[Zope] AssertionError

2007-11-28 Thread kamal hamzat
Hi, Please i need help on this. Thx Site Error An error was encountered while publishing this resource. thread.error Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher.Publish, line 202, in publish_module_standard Module ZPublisher.Publish, line 161, in publish

Re: [Zope] AssertionError

2007-11-29 Thread kamal hamzat
Thanks Martijin. Zope 2.10.4-final, python 2.4.4, win32, mysql 5.0, ZMySQLDA 2.0.9 kamal iginal Message - From: Martijn Jacobs To: kamal hamzat Cc: zope@zope.org Sent: Wednesday, November 28, 2007 4:09 PM Subject: Re: [Zope] AssertionError Can you provide some more

[Zope] Problems creating plone3_buildout on Windows

2007-12-17 Thread kamal hamzat
Hello, These are the messages i got when I issue this statement: paster create -t plone3_buildout optilux8005. Creating template plone3_buildout Creating directory .\optilux8005 Copying README.txt to .\optilux8005\README.txt Copying bootstrap.py to .\optilux8005\bootstrap.py

[Zope] locked out of zope

2008-01-09 Thread Kamal Hamzat
Hi, I am unable to log-in into the my zope server. This just happened because I have not changed my log-in info. Afterwards I also tried to create emergency user and still unable to login. I used the plone3_buildout to build the zope and plone. And what I noticed was that i have 2 zpasswd.py

[Zope] Zope product to rate an aticles

2008-01-26 Thread Kamal Hamzat
Hello All, I am looking for zope products to allow visitors to rate news articles after reading them. Thanks in anticipation for your supports. kamal___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] Zope product to rate an aticles

2008-01-28 Thread Kamal Hamzat
Thanks aj. But I could not find the content ratings Could you please send me the URL if you know it. Regards - Original Message - From: Andreas Jung [EMAIL PROTECTED] To: Kamal Hamzat [EMAIL PROTECTED]; zope@zope.org Sent: Saturday, January 26, 2008 4:41 PM Subject: Re: [Zope] Zope

[Zope] getting the keys:values in a propertyItems() object

2008-03-06 Thread Kamal Hamzat
Hi,I have this lines of dtml methods.dtml-call REQUEST.set('xx', _.getitem('080211'))dtml-var xx.propertyItems()Which rendered these Keys:Values below[('title', The man Wants Refinery For Living), ('lastEditDate', DateTime('2008/02/11 11:49:26.254 US/Eastern')), ('EpozDocumentTemplate', ''),

[Zope] EpozDocument with single quote and double quote

2008-04-07 Thread Kamal Hamzat
Hi, It is nightmare for me pasting a content that i copy from MS Word or Notepad inside the EpozDocument if the content has single quote or double quote. It will display the error below and complain about the title but when i remove the quote or re-type it from the keyboard it will not