Forums / Setup & design / Letting users edit their profile

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Letting users edit their profile

Author Message

matt pichelmayer

Tuesday 16 November 2004 2:40:55 pm

hi I've installed the php cms, and I'm wondering what I have to do so users that login can change their passwords and profile info?

Björn X

Tuesday 16 November 2004 6:20:46 pm

try it in your template

{let current_user=fetch( 'user', 'current_user' )}
{section show=eq($current_user.contentobject_id,$anonymous_user_id)}
    <a  href={"/user/login/"|ezurl}>{'Login'|i18n('design/standard/layout')}</a>
{section-else}
    <a href={"/user/logout/"|ezurl}>{'Logout'|i18n('design/standard/layout')}</a> (<a href={concat("/content/edit/", $current_user.contentobject_id )|ezurl}>{$current_user.login|wash}</a>) 
{/section}
{/let}

Ole Morten Halvorsen

Wednesday 17 November 2004 1:27:54 am

You need to give logged in users access to change their user. Add these policies to the Guest User role:

content    edit     Class( User), Owner( self )
user       selfedit *

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

matt pichelmayer

Tuesday 23 November 2004 8:11:07 am

uhmm which file are these policies placed in?