Hi,

I am new to Zope and would like to ask a question regarding the guestbook which was introduced in the zope book.

I want to add two more things to my guestbook; the visitor's IP address and email address. What do I have to add in the python code?

What I've done so far was (at least for the email):

1. Added the new parameters (email, etc.) to the HTML form.
2. Changed the addEntryAction DTML code to reflect the new parameters:
   <dtml-call expr="addEntry(guest_name, comments, email, etc.)">
3. Added the line in the addEntry script with the new parameters:
   doc.manage_addProperty('email', email, 'string')

But I receive an error message.

Can someone help me out?

Thank you.

 



Gesendet von http://mail.yahoo.de.
Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de.