Best way to extend user class?

Author Message

Jerry Jalava

Wednesday 06 August 2003 12:32:17 pm

Hi,
What is the best way to extend user class with more registration info?

I need my registration form to be like this:
- First time that user registers, only email and password is required
- When he logs in, he can change his account info that has fields like Nick (used in forums), First name, Last name, Address, Phone, photo, etc...

Should I make it with classes? Can I put them all in to the user class? Or should I make own module for it?

Regards,
Jerry

Vincent Saulnier

Tuesday 23 September 2003 1:41:55 pm

eZ Crew...
Do you have an idea on this one?

--
Vincent

Bjørn Kaarstein

Wednesday 24 September 2003 2:43:56 am

It is possible just to extend the user class, or just make a new user class.

Just like you say - When a user registers, you only display email and password. When a user is logged in, you can display the rest of the fields.

Regards Bjørn

Vincent Saulnier

Wednesday 24 September 2003 6:21:50 am

But the user still can't change is own profile...
What can we do about that?

--
Vincent

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.