[Zope-CMF] new Recipe: Create default content for new members; allow members
Wed, 26 Feb 2003 16:32:53 -0500 (EST)
This addresses some common mailing list questions.
replies have been made to the following related docs:
Tres or another CMF.zope.org manager:
please note that
replies to FAQs are not visible unless one goes to:
perhaps change the faq topic or default view?
I'll add this to collector eventually if it doesn't change, or someone
1) Creates default content, making new member the owner of the default
2) Gives new member the reviewer role on her/his folder so can publish her
All this using the standard CMF (no DC workflow; no hotfixes -- designed
Two scripts must be created or customized:
register (customize) -- Note my register script requires lowercase
usernames and more gracefully handles the error when username is invalid
or already in use
createDefaultContentForNewMember (create) (must be proxy manager)
You also need to create a user which has the documents you want to be the
default. In this example that user is default_user.
You may also wish to customize content_byline to address the confusion
between owner and creator. (e.g. change "created by" to "owned by")
scripts are at: