Forums / Developer / customer/user profile?

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!

eZ debug

Timing: Jan 18 2025 19:35:20
Script start
Timing: Jan 18 2025 19:35:20
Module start 'content'
Timing: Jan 18 2025 19:35:21
Module end 'content'
Timing: Jan 18 2025 19:35:22
Script end

Main resources:

Total runtime1.2103 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0138 589.0391180.8438
Module start 'content' 0.01381.0658 769.8828484.0469
Module end 'content' 1.07960.1306 1,253.9297333.5000
Script end 1.2103  1,587.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3319210.0002
Check MTime0.00150.1239210.0001
Mysql Total
Database connection0.00080.062510.0008
Mysqli_queries1.137894.00331940.0059
Looping result0.00190.15341920.0000
Template Total1.179397.420.5896
Template load0.00220.184320.0011
Template processing1.177097.248620.5885
Template load and register function0.00020.015510.0002
states
state_id_array0.00060.052810.0006
state_identifier_array0.00060.051920.0003
Override
Cache load0.00190.1578400.0000
Sytem overhead
Fetch class attribute can translate value0.00120.096730.0004
Fetch class attribute name0.00090.076430.0003
XML
Image XML parsing0.00050.040030.0002
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00140.1176210.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs