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.