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.

eZ debug

Timing: Jan 18 2025 21:08:05
Script start
Timing: Jan 18 2025 21:08:05
Module start 'layout'
Timing: Jan 18 2025 21:08:05
Module start 'content'
Timing: Jan 18 2025 21:08:06
Module end 'content'
Timing: Jan 18 2025 21:08:06
Script end

Main resources:

Total runtime1.2536 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.0469152.6250
Module start 'layout' 0.00610.0032 741.671939.4453
Module start 'content' 0.00931.2428 781.1172533.8359
Module end 'content' 1.25210.0015 1,314.953112.1641
Script end 1.2535  1,327.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2638160.0002
Check MTime0.00140.1077160.0001
Mysql Total
Database connection0.00080.065010.0008
Mysqli_queries1.202195.8970570.0211
Looping result0.00050.0395550.0000
Template Total1.220097.320.6100
Template load0.00220.173320.0011
Template processing1.217897.150220.6089
Template load and register function0.00010.006810.0001
states
state_id_array0.00110.087810.0011
state_identifier_array0.00250.202520.0013
Override
Cache load0.00170.1330370.0000
Sytem overhead
Fetch class attribute can translate value0.00070.053220.0003
Fetch class attribute name0.00120.095440.0003
XML
Image XML parsing0.00050.042420.0003
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00100.0780160.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs