[CMF-checkins] CVS: Products/CMFCore - MembershipTool.py:1.12

Jens Vagelpohl jens@zope.com
Thu, 13 Sep 2001 12:12:30 -0400


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv9180

Modified Files:
	MembershipTool.py 
Log Message:
Changed implementation of createMemberArea to set a title on the newly created member folder. 
This is for the benefit of breadcrumbs implementation that want a title to be present.



=== Products/CMFCore/MembershipTool.py 1.11 => 1.12 ===
         members =  getattr(parent, 'Members', None)
         if members is not None:
-            members.manage_addPortalFolder(member_id)
+            f_title = "%s's Home" % member_id
+            members.manage_addPortalFolder( id=member_id, title=f_title )
             f=getattr(members, member_id)
  
             f.manage_permission(CMFCorePermissions.View,