Difference between revisions of "How to remove Joomla edit button from listing detail page"
From JReviews Documentation
(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…') |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
You need to edit Joomla's com_content template file: | You need to edit Joomla's com_content template file: | ||
− | * | + | *<span style="color: blue">/components/com_content/views/article/tmpl/default.php</span> |
+ | |||
And delete this: | And delete this: | ||
Line 9: | Line 10: | ||
</td> | </td> | ||
<?php endif; ?> | <?php endif; ?> | ||
+ | </source> | ||
+ | |||
+ | 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: | ||
+ | *<span style="color: blue">{site_root}/templates/{your_template}/html/com_content/article/default.php</span> | ||
Latest revision as of 16:23, 23 August 2011
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