[Zope-CMF] (no subject)

David (Hamish) Harvey david.harvey@bristol.ac.uk
Wed, 17 Jul 2002 23:47:59 +0100


I did this (in plone, but CMF should work too) by changing join_form to 
include the listed/unlisted choice and making sure it defaulted to listed 
(cut and pasted from the personalize_form.pt). If you don't want to provide 
the choice at join time, you could use a hidden field or modify register.py 
to insert the "listed" property with value "on" into the REQUEST before 
calling addMember (untested).

Cheers,
Hamish

--On Wednesday, July 17, 2002 16:00:23 -0400 Jim Pharis <jpharis@rtl.org> 
wrote:

> CMF'ers
>
> Is there any way to automatically set all users to listed by default
> rather then have them be unlisted when they first subscribe?
>
> If they wish to be unlisted they may go to preferences and check
> unlisted like usual.
>
> Thanks, Jim
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>



--
Hamish Harvey (aka David)
Network Coordinator, FloodRiskNet
Research Assistant, Water and Environmental Management Research Centre
University of Bristol, Lunsford House, Cantock's Close, Bristol BS8 1UP
Tel: +44 (117) 9289768 Fax: +44 (117) 9289770
Email: david.harvey@bristol.ac.uk/hamish@floodrisknet.org.uk
PGP Key Fingerprint: 6F15 A1C7 342F 2F87 E2CC  176D 1072 8A5B 20E8 E497
WWW: http://www.cen.bris.ac.uk/civil/pgra/dph/dph.htm