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
[SOLVED] Disable edit functionality in the frontend
-
- Phoca Member
- Posts: 10
- Joined: 15 Jan 2013, 08:01
[SOLVED] Disable edit functionality in the frontend
Last edited by alpana on 18 Apr 2013, 12:50, edited 1 time in total.
-
- Phoca Member
- Posts: 10
- Joined: 15 Jan 2013, 08:01
Re: Disable edit functionality in the frontend
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
and in the file
C:\wamp\www\msedcl\components\com_content\views\category\tmpl\default_articles.php
comment out the following.
hope this helps someone. Cheers
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); ?>
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); ?>
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [SOLVED] Disable edit functionality in the frontend
Ok
If you find Phoca extensions useful, please support the project