Our component depends on the users permission to edit articles, but is intended to intervene with that editing process, so the icon that allows the article editing to occur is a problem for us.

GLobal configuration allows setting some options,etc., but I've been unable to actually stop the icon from being there as long as the permissions allow editing.

Can the feature be turned off without needing a template override of some kind?

1 Answer 1


A Content Plugin can accomplish this. To prevent F/E editing for articles this works:

public function onContentBeforeDisplay($context, &$article, $params, $page=0) {
    if( $context == 'com_content.article' ) {

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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