[CMF-checkins] CVS: Products/CMFDefault - MembershipTool.py:1.14
Jens Vagelpohl
jens@zope.com
Thu, 13 Sep 2001 12:10:08 -0400
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv8811
Modified Files:
MembershipTool.py
Log Message:
The newly created folder for a member now gets a title set. this fixes breadcrumbs that
expect a title on the object.
=== Products/CMFDefault/MembershipTool.py 1.13 => 1.14 ===
if members is not None and not hasattr(members, member_id):
- 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)
# Grant ownership to Member