[SOLVED] Disable edit functionality in the frontend

Phoca Templates - templates for Joomla! CMS
alpana
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Jan 2013, 08:01

[SOLVED] Disable edit functionality in the frontend

Post 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
Last edited by alpana on 18 Apr 2013, 12:50, edited 1 time in total.
alpana
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Jan 2013, 08:01

Re: Disable edit functionality in the frontend

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [SOLVED] Disable edit functionality in the frontend

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply