This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Extending the user data that get...
expandshrink

Extending the user data that get stored within ez.

Extending the user data that get stored within ez.

Thursday 03 April 2003 2:36:18 pm - 2 replies

I am trying to extend the user data that get stored within ez. Specifically I want to define data for address, payment info, etc but don't want to alter the standard user definition.

I have created a new set of classes to store this information and need to relate it to the user. Do I relate this data to the user class similar to reviews related to products or do I get this data entered after the user has logged in and therefore have their details (current user) to do the relation automatically.

If I use the second method how do I access this data when the user logs in as the data needs to be specific to the user and not all users details. Do I search for the records or use the role system to only allow access to data they have entered.

Friday 11 April 2003 4:20:22 pm

Users are normal objects like articles, the only difference is that they have the user datatype as an attribute.
For instance you can extend the default user in eZ publish and add new attributes.

What do you mean by accessign the user specific data? Do you mean the data create when registering?

Friday 11 April 2003 7:56:19 pm

>Users are normal objects like articles, the only difference is that >they have the user datatype as an attribute.
>For instance you can extend the default user in eZ publish and >add new attributes.

Wouldn't this create problems for future upgrades? As long as the attributes do not change in the ezp 3 base, it will probably work.

Paul

 

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from