How to remove Joomla edit button from listing detail page

From JReviews Documentation
Revision as of 16:22, 23 August 2011 by Jreviews (Talk | contribs)

Jump to: navigation, search

You need to edit Joomla's com_content template file:

  • \components\com_content\views\article\tmpl\default.php


And delete this:

<?php if ($canEdit) : ?>
<td align="right" width="100%" class="buttonheading">
	<?php echo JHTML::_('icon.edit', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>


If this won't work, it is possible that your Joomla template overrides this file. In that case you will need to do the same here:

  • {site_root}/templates/{your_template}/html/com_content/article/default.php