Hi everyone,
I want to create a custom PHP block that contains a link for the end-user to edit their profile. However, I only want this to show up if the logged in user is viewing his own profile. I found this code in the sys_objects_action block, but it doesn't work:
if ({ID} != {member_id}) return;
return _t('{cpt_edit}');
Basically, the code above will display the "Edit" button in the actions block. I think that I'm on the right track. However, I could also be incredibly off-base.
Thanks in advance for the help!
