Re: [Zope] userFolder that holds user's email
Peter Bengtsson wrote: Just one python question Chris, why do you do this:: class User(BasicUser): def __init__(self,dict): d['__'] = dict['password'] What's wrong just doing self.__ = dict['password'] I'm not looking at the code as I write this, so I may be wrong, but I do that because, if you look further down, you'll see I define a __setattr__ hook that raises an exception, since seeing attributes on object of this type is a really bad thing to do, so you have to go through lots of hoops if you really want to do it ;-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] userFolder that holds user's email
Haim Ashkenazi wrote: I'm looking for a zope (not plone) userFolder that can hold the user's email and perhaps full name. It should be the same authentication method, but with additional fields. Do I have to write one myself or are there already products that have this feature? SimpleUserFolder from http://www.simplistix.co.uk does exactly this :-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] userFolder that holds user's email
Have a look at ExUserFolder (http://sourceforge.net/projects/exuserfolder/) we use it and I think it's great... Cheers, Joe On 7 Jun 2005, at 12:27, Haim Ashkenazi wrote: Hi I'm looking for a zope (not plone) userFolder that can hold the user's email and perhaps full name. It should be the same authentication method, but with additional fields. Do I have to write one myself or are there already products that have this feature? thanx -- Haim ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )