Forums / Developer / Best method for multiple user groups / types?

Best method for multiple user groups / types?

Author Message

Brendan Pike

Wednesday 19 April 2006 7:27:19 pm

I need to have certain users register with a more extensive registration fields and others simplified. Not having done this before I didn't want to re-invent the wheel. Can people tell me how they have achieved this previously?

One possibility I considered was either sending users to a virtual forwarded URL like /group_one/register (forwarded to /user/register) or setting a view_parameter and then only show certain user datatypes accordingly. However I found it is not currently not possible to detect the URL or read/set view_parameters from user/register.tpl.

Love to hear others thoughts on this.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Ɓukasz Serwatka

Monday 24 April 2006 11:38:04 pm

Hi Brendan,

Take a look at this topic, some suggestions how to solve problem.
http://ez.no/community/forum/general/need_to_register_users_into_different_groups/re_need_to_register_users_into_different_groups

The bug with view_parameters in user/register.tpl is fixed now, you can take latest version from pubsvn.ez.no.

http://ez.no/community/bugs/view_parameters_variable_is_not_set_in_the_user_register

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog