[Zope-CMF] how do I unsubscribe?
ted townsend
ted@rkl.com
Mon, 20 Aug 2001 20:48:37 -0700
how do I unsubscribe?
thanks.
-ted
Norman Khine wrote:
> Hi Gitte,
> I am not sure if you ware succesfull in implementing this, but here is my
> hack, which seems to work;^)
>
> In the CMFDefault/MembershipTool.py, you can add the following:
>
> default_member_profile = '''Default profile page for %s
>
> This is the default summary page created for you when
> you joined this community
>
> Please use this page to give an overview of your company
> by just selecting the "Edit" in the Tool Box on the left.
> '''
>
> ....
>
> # Create Member's profile page.
> # default_member_content ought to be configurable per
> # instance of MembershipTool.
> Document.addDocument( f
> , 'profile_html'
> , member_id+"'s Profile"
> , member_id+"'s Profile Page"
> , "structured-text"
> , (default_member_profile % id)
> )
>
> f.profile_html._setPortalTypeName( 'Document' )
>
> # Overcome an apparent catalog bug.
> f.profile_html.reindexObject()
>
> You must restart the server for this to take effect, now if you add a new
> member, it will create a profile_html page in the member's folder.
>
> Norman
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests