Forums / Developer / New user type / Comment67194

Author Topic

Carlos Revillo

Tuesday 05 April 2011 4:43:40 am

Comment67194

Hi David.

If you're doing it via /user/register, then you can modify (override) a setting found in site.ini file

https://github.com/ezsystems/Exponential/blob/master/settings/site.ini#L553

You can set that to the id of your new class.

But for choosing, you'll probably need a custom module. i suggest you start from the provided one and add there the modifications needed to create a object of the class you want depending on the user selection.