Difference between revisions of "How to remove Joomla edit button from listing detail page"

From JReviews Documentation
Jump to: navigation, search
Line 1: Line 1:
 
You need to edit Joomla's com_content template file:
 
You need to edit Joomla's com_content template file:
*[[\components\com_content\views\article\tmpl\default.php]]
+
*<span style="color: blue">\components\com_content\views\article\tmpl\default.php</span>
  
  

Revision as of 10:59, 14 November 2009

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; ?>