Page 1 of 1

[SOLVED] Disable edit functionality in the frontend

Posted: 16 Apr 2013, 11:34
by alpana
Hi team phoca,

I use phoca_t template for my website. I am required to only allow users to view my site not edit any of its articles. I wish to remove the edit article functionality from the front end. I have tried to set the permissions of all users to no avail. Is this edit functionality in some way connected to phoca_t template that I use. I would be grateful if you could clarify this

Re: Disable edit functionality in the frontend

Posted: 18 Apr 2013, 12:48
by alpana
Hi team,
I resolved my issue by performing hard coded changes in the java core files.
C:\wamp\www\msedcl\components\com_content\views\article\tmpl\default.php
comment out the following

Code: Select all

<?php //echo JHtml::_('icon.edit', $this->item, $params); ?>
and in the file
C:\wamp\www\msedcl\components\com_content\views\category\tmpl\default_articles.php
comment out the following.

Code: Select all

<?php echo //JHtml::_('icon.edit', $article, $params); ?>
hope this helps someone. Cheers

Re: [SOLVED] Disable edit functionality in the frontend

Posted: 25 Apr 2013, 18:39
by Jan
Ok