Expansion of the user data.

Author Message

Pavel Konovalov

Tuesday 21 November 2006 6:27:47 am

Hello!
I have a problem with work with eZ Piblish users.
At a writing of extension, it is necessary for me to work with users,
which have more properties, than at standard eZ Publish users.
But the users features should be same
For example these users can have a new attribute (phone number, a fax, etc).
Prompt please how me it to realize.
I hope that change of a base class for eZ Publish will not be an output
from this situation.

Are you gangsters?!
No, we are Russians.

Claudia Kosny

Tuesday 21 November 2006 2:10:53 pm

Hi Pavel

Depending on what you exactly want to do you could create a new class for the additional attributes and then relate objects of this class with the user object.

Alternatively create another user class, but this involves some serious tweaking as EZ is not made for having two different user classes.

Claudia

Pavel Konovalov

Wednesday 22 November 2006 2:43:23 am

Hi Claudia!
Thx for your reply.
I want to store the following information in this class:

- firstname
- lastname
- email
- website
- street-adr
- city
- zip/postalcode
- state
- country
- phone
- fax
- forumactivity

You have advised me two ways of the decision of my problem.
But what realization of the decision will be more simple?

Are you gangsters?!
No, we are Russians.

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