I started to programm for Zope and have questions: How to create with the help of the python other script on fly? How to copy objects between folders? How to receive the password of the user from a userFolder? Thanks for any help __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
On Fri, 2003-11-07 at 10:02, Dmitrij Repp wrote:
I started to programm for Zope and have questions:
How to create with the help of the python other script on fly?
Probably best handled with external methods... but are you sure this is what you want to do? Or might heavily parameterized scripts be the better route?
How to copy objects between folders?
Recipe here: http://www.zope.org/Members/dylanr/move_obj
How to receive the password of the user from a userFolder?
IMO, your best bet is to capture them as you add user objects. Someone else here may have a better answer. Plone has a password retrieval facility, might want to dig into the source and see how it's done there. HTH, Dylan
How to receive the password of the user from a userFolder?
IMO, your best bet is to capture them as you add user objects. Someone else here may have a better answer. Plone has a password retrieval facility, might want to dig into the source and see how it's done there.
The password is stored on a user object as the attribute '__' (that's a double underscore.) Obviously this is not useful to you if you're encrypting passwords. And it must be accessed through file-system code, since it starts with (and is) a double-underscore. There is no standard way to set passwords, btw. Some UserFolders will work if you set __, others require use of some other method. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
participants (3)
-
Dmitrij Repp -
Dylan Reinhardt -
J. Cameron Cooper