[Zope-CMF] Adding new portal doc to memberfolder when new member joins

Grégoire Weber gregoire.weber@switzerland.org
Thu, 16 Aug 2001 10:27:01 +0200


Hi Gitte,

> On one of my portals I am trying to create a sort of "profile" for my
members.
> With the default CMF, a document named index_html is created in the=
 members 
> own folder when they join.
> Insted I would like to create another document type (call it profile) that=
 
> displays some variables from the user's preferences page.

Every time a new member area is created the 'createMemberarea' 
method of the 'CMFDefault.MembershipTool' class is called. There
you could see how the 'index_html' document gets instanated.

One possibility is to hotfix this class. Perhaps it's what 
you're searching for. Have a look at my How-To I created yesterday:

  http://www.zope.org/Members/gregweb/cmf_add_objects_at_member_creation

Hope this helps!

Greg

_____________________________________
Grégoire Weber
mailto:gregoire.weber@switzerland.org