update user class??

Author Message

Fabricio Guerrero

Tuesday 29 March 2005 4:34:34 am

i've modified the user class and customized the login form and additional forms to require all the additional fields..

now i need to update this class... the idea is to permit the user update his contact info and personal stuff.. is there a way to update the user class via ezPublish? creating a class perhaps with certain permissions?? or is this doable only via handscripting? how would the form action be??

please anybody help on this.. im still new to ezPublish.. this is my first time on it.

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Ɓukasz Serwatka

Wednesday 30 March 2005 12:48:29 am

Hi Fabricio,

is there a way to update the user class via ezPublish?

Of course, go to Setup->Classes in admin interface. Next choose Users class group. Then click edit button on the right for User class and add new attributes.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Fabricio Guerrero

Wednesday 30 March 2005 2:19:48 am

sorry i didnot explain myself correctly...

i meant is there a way a registerd user can modify his details. im storing all there info in the user class. til now i can only see how to create forms and permit users interact with classes if these are defined as content classes. but i've modified the user class instead and wish users to modify there info on this class. is there anyway to do this? and if it has to be hand coded how do i indicate ezPublish to read the template i've created for it?

thanks for your help.

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

K259

Wednesday 30 March 2005 7:27:17 am

Fabricio:
you can enter the role where the users are stored and add rights to user modul, then choose the policy "selfedit". Choose password if they shall be able to change their own password.

Hope this works..never tested it before.

Fabricio Guerrero

Thursday 31 March 2005 12:38:41 am

ok.. i found a way... searching the forum i found that you can permit an user to edit their profile by linking them to /base/user/edit/userid/.

this is pretty much what i needed.. with some custom work i'll get it towards what the client needs.. thanks.

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

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 31 2025 06:26:36
Script start
Timing: Jan 31 2025 06:26:36
Module start 'layout'
Timing: Jan 31 2025 06:26:36
Module start 'content'
Timing: Jan 31 2025 06:26:36
Module end 'content'
Timing: Jan 31 2025 06:26:36
Script end

Main resources:

Total runtime0.0123 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.0156151.1953
Module start 'layout' 0.00460.0025 739.210936.6328
Module start 'content' 0.00710.0040 775.843894.2500
Module end 'content' 0.01100.0013 870.093837.9922
Script end 0.0123  908.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002218.1978140.0002
Check MTime0.00108.2243140.0001
Mysql Total
Database connection0.00086.461510.0008
Mysqli_queries0.002318.752530.0008
Looping result0.00000.114010.0000
Template Total0.00108.110.0010
Template load0.00086.324310.0008
Template processing0.00021.695110.0002
Override
Cache load0.00054.327710.0005
General
dbfile0.00032.358180.0000
String conversion0.00000.065740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs