[Zope-CMF] Saving custom data in a MemberData-object from
python
marc lindahl
marc@bowery.com
Fri, 20 Apr 2001 15:14:40 -0400
Question: let's say you add some preference, like birth_date. How/where do
you change the sign-up screen and the preferences screen to access that?
And do some action like, don't allow signup for age<13....
> From: Shane Hathaway <shane@digicool.com>
>>>
>>> In the member data tool, add a property called "myData". Then change
>>> the code above to:
>>>
>>> portal_registration.setProperties(myData="some special preference")
>>
>> Is this last line right? I thought that the setProperties function was in
>> the
>> MemberData class.
>
> The method in the portal_memberdata tool is private. It is supposed to
> be invoked only by portal_registration.setProperties() because
> portal_registration can enforce member property policies.