[Zope-CMF] Changing ID of members folder, and related questions

Shane Hathaway shane@zope.com
Tue, 31 Dec 2002 14:27:39 -0500


Bill Anderson wrote:
> On Sun, 2002-12-22 at 19:47, Bill Anderson wrote:
> 
>>Many moons ago, I inquired about the feasibility of using a member's
>>folder named something other than Members. Well, I did it tonight, and
>>with some modifications to MembershipTool.py, it worked (search/replace
>>'Members' with new id).
>>
>>So far, new members and everything works fine.
>>
>>It would be nice if there was a way to set the name of this folder in
>>the UI, rather than have it be hard coded. it shouldn't be too hard
>>Thoughts?

This should work.  The only code that should know about the name 
"Members" is MembershipTool.py, allowing you to reconfigure or replace 
the membership tool with something that puts the member's folder in a 
hierarchy or somewhere else entirely.  If any other code or templates 
assume there is always a "Members" folder, that is a bug.

Shane