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

From JReviews Documentation
Jump to: navigation, search
(Created page with 'You need to edit Joomla's com_content template file: *\components\com_content\views\article\tmpl\default.php And delete this: <source lang="php"> <?php if ($canEdit) : ?> <td al…')
 
Line 9: Line 9:
 
</td>
 
</td>
 
<?php endif; ?>
 
<?php endif; ?>
 
+
</source>
  
  

Revision as of 20:46, 4 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; ?>