4

When an admin user is logged in, to the front-end of a Joomla 3 site, when he moves the mouse over modules or menus, an Edit Module icon / message appears inside a box. Clicking on it, will take the user to the backend. How to prevent this?

5

There are 2 options to prevent this:

One is a global setting to stop this from happening.

In Global Configuration -> Site Settings -> Mouse-over edit icons for:
We can set this setting to Modules & Menus, Modules, or None.

The other option is related with the Module Permissions. Since in Joomla 3, we have the ability to set permissions by module, we can take away the ability to edit specific modules by specific usergroups. When a user won't have edit permissions on a module, the Edit icon will not appear in front-end. However, this will restrict the users of this usergroup from editing the module in the backend as well.

  • This answer should be updated since Mouse-over edit icons for: is rephrased to Inline Editing – Yannis Dran Jan 17 at 8:10
  • You may suggest an edit (click on the edit link below the answer) @YannisDran – FFrewin Jan 17 at 16:04
0

I was searched for a solution for the same issue you had when I found your question. The solution I took was a template overwrite, which removed the edit button for me. You need to change the com_content/article/default.php file and change the line:

$canEdit = $params->get('access-edit');

to

$canEdit = false;

A more detailed explanation can be found in the source here. This solved the issue for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.