customer/user profile?

Author Message

Sy Hai Dang

Thursday 20 May 2004 6:33:49 pm

Hello

anyone knows how the user or customer of the site can access his/her profile to edit the personal information that they registered/signed-up (first name, last name, signature,...) at index.php/shop/user/register ?
After registration, the user do not know where to edit his personal information.

Please help! I am trying the eZ publish 3.4 beta 2 release.

Dominik Pich

Friday 21 May 2004 1:27:48 am

there is a view/function for that in the user module.
You can also override the edit template / datatype templates a link to /content/edit/#userid

Sy Hai Dang

Monday 24 May 2004 6:58:00 pm

Hello Dominik Pich

thank you for your prompt reply but I was not successful with your suggestion.
I have a registered user account

Test <name@tld.com> [User], Node ID: 97, Object ID: 95
Guest accounts
Login: test
User ID: 95

and I did as your suggestion when logging in the system:

http://localhost/ez/340b2/index.php/shop/content/edit/95
http://localhost/ez/340b2/index.php/shop/content/edit/95/2

but always received the warning message:

"Access denied
You don't have permission to access this area."

If I log-in as the administrator of the site, I can access the user edit at:
http://localhost/ez/340b2/index.php/shop_admin/content/edit/95
The currently published version is 1
Current drafts
Version Name Owner Created Last modified
2 Test Administrator User 20.05.2004 9:38 20.05.2004 9:38

http://localhost/ez/340b2/index.php/shop_admin/content/edit/95/2
Users / Guest accounts / Test
Edit User - Test

Following you instruction, I found the class "User" in the class group "Users" has the override templates as below:
SiteAccess | Override | Source template | Override template
shop | edit_user | /content/edit.tpl | design/base/override/templates/edit/user.tpl
shop_admin | user | /node/view/full.tpl | design/admin/override/templates/user.tpl
shop_admin | user_plain | /node/view/plain.tpl | design/admin/override/templates/user_plain.tpl

If anyone know how to access the page that the logged-in user could edit their profile, please let me know.

Thank you!

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 19:28:32
Script start
Timing: Jan 18 2025 19:28:32
Module start 'layout'
Timing: Jan 18 2025 19:28:32
Module start 'content'
Timing: Jan 18 2025 19:28:33
Module end 'content'
Timing: Jan 18 2025 19:28:33
Script end

Main resources:

Total runtime0.9920 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.0057 589.0234152.6094
Module start 'layout' 0.00570.0025 741.632839.4141
Module start 'content' 0.00820.9806 781.0469478.9844
Module end 'content' 0.98870.0032 1,260.031312.1875
Script end 0.9920  1,272.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3890160.0002
Check MTime0.00160.1640160.0001
Mysql Total
Database connection0.00110.108610.0011
Mysqli_queries0.930993.8388570.0163
Looping result0.00100.1019550.0000
Template Total0.953596.120.4768
Template load0.00230.233820.0012
Template processing0.950895.849120.4754
Template load and register function0.00090.094510.0009
states
state_id_array0.00080.083210.0008
state_identifier_array0.00180.185820.0009
Override
Cache load0.00190.1946400.0000
Sytem overhead
Fetch class attribute can translate value0.00100.099220.0005
Fetch class attribute name0.00280.279330.0009
XML
Image XML parsing0.00020.023720.0001
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00210.2149100.0002
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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs