Forums / Setup & design / user preferences edit

user preferences edit

Author Message

Federico Canuti

Thursday 27 October 2005 2:19:53 am

Hello I want to give the user of my forum the opportunity to modify his password, name and various preferences but I haven't find an example of this page already working so do I have to build it from scratch or simply I didn't look in the right place?

Ɓukasz Serwatka

Thursday 27 October 2005 2:55:08 am

Federico, you users will need access to selfedit. You can change it in Admin interface, tab User accounts.

Module: user
Function: selfedit

Than you can put link in your tpl to /content/edit module.

{def $user=fetch( user, current_user )}
<a href={concat( '/content/edit/', $user.contentobject.id, '/')|ezurl}>Change information</a>

That's all.

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