1. jayrigby
  2. Support
  3. Thursday, November 06 2014, 01:29 PM
Is it possible to disable the entire edit profile option?

Remove the button and ability to edit any of your details.

Thanks
Jay
admin Accepted Answer
Admin
Hi,
sorry this is not possible because Easy Profile extends Joomla user profile.

To do this you can
- remove "Edit Profile" button with template override (you can copy /components/com_jsn/views/profile/tmpl/default.php into /templates/your_template_folder/html/com_jsn/profile/default.php)

- Now edit profile link is gone but if you know joomla you can access to edit profile page directly with link, so you need to create a simple system plugin to block this page, you can insert some code like this:
public function onAfterRoute()
{
if(JRequest::getVar('option')=='com_users' && JRequest::getVar('layout')=='edit') die();
if(JRequest::getVar('option')=='com_users' && JRequest::getVar('task')=='profile.save') die();
}

or you can make some Joomla hack

To do this you need PHP and Joomla knowledge
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.