Disable Front-end edit functionality?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- C0nw0nk
- Joomla! Enthusiast
- Posts: 248
- Joined: Tue Jun 15, 2010 1:12 am
- Location: United Kingdom, London
- Contact:
Re: Disable Front-end edit functionality?
this topic is to disable them not enable. although it doesnt realy disable it just hides / removes the icons from your view
- SOAMJENA
- Joomla! Ace
- Posts: 1274
- Joined: Thu May 01, 2008 12:36 pm
- Location: QubeSys Technologies Pvt. Ltd ,INDIA
- Contact:
Re: Disable Front-end edit functionality?
works.Thanks..
Web Design, eCommerce and Software Development
Joomla Premium Extensions,Templates and Support Packages
Joomla Premium Extensions,Templates and Support Packages
-
- Joomla! Apprentice
- Posts: 12
- Joined: Wed Mar 10, 2010 7:55 am
- Location: Kathmandu, Nepal
- Contact:
Re: Disable Front-end edit functionality?
I don't know how the guys are accepting the solution just to hide the icon. Is this the real solution? Try putting a direct URL in the browser, that will show the edit form. So just hiding the icon is not the solution. I think we should wait till the Joomla 1.6 to have a full control over such things.
Raju Gautam
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Jun 27, 2010 10:33 pm
Re: Disable Front-end edit functionality?
Hello, rajugautamrajugautam wrote:I don't know how the guys are accepting the solution just to hide the icon. Is this the real solution? Try putting a direct URL in the browser, that will show the edit form. So just hiding the icon is not the solution. I think we should wait till the Joomla 1.6 to have a full control over such things.
Unfortunatelly, I can't wait for the release of Joomla! 1.6. And if I allow the users of my site to edit their articles freely, I know by my experience that they are going to make a lot of mess.
At the beggining, I thought that giving users some options was a good thing, but they didin't agree with me. One user told me that the site was "hard to use" - because he couldn't understand a simple idea like sections and categories organization.
Maybe hiding the icons is not the "state of art solution", but right now it's the best solution with the available resources.
Best regards
Edson Tomaz
-
- Joomla! Apprentice
- Posts: 44
- Joined: Thu Jun 17, 2010 1:49 pm
Re: Disable Front-end edit functionality?
Does anyone know if this was addressed in 1.6? Stalling on upgrading sites, but this would motivate me!
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri Aug 27, 2010 7:03 am
Re: Disable Front-end edit functionality?
The best way I have found to disable this function is to go into the template.css, or the equivalent, depending on the template, and add the "display:none;" attribute to the following class.
before:
.articletoolswrap{
background:#CCCCCC;
margin-bottom:24px;
padding:4px 0 0 0;
height:20px;
width:99%;
}
after:
.articletoolswrap{
display:none;
background:#CCCCCC;
margin-bottom:24px;
padding:4px 0 0 0;
height:20px;
width:99%;
}
Hope this helps.
before:
.articletoolswrap{
background:#CCCCCC;
margin-bottom:24px;
padding:4px 0 0 0;
height:20px;
width:99%;
}
after:
.articletoolswrap{
display:none;
background:#CCCCCC;
margin-bottom:24px;
padding:4px 0 0 0;
height:20px;
width:99%;
}
Hope this helps.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Apr 09, 2009 2:54 am
Re: Disable Front-end edit functionality?
Would anyone think I was crazy if I suggested replacing the edit image (edit.png) with a smaller transparent image named edit.png? That way people wouldn't know you could edit the page unless they knew to hover around the area until the cursor changed.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Sep 30, 2010 11:18 pm
Re: Disable Front-end edit functionality?
On my installation I can see that from the front end the edit icon only appears depending on what the the permissions are set to for the user logging in.
I have not set up any unusual permissions on my site. From the front end, if I log in to see the pages for registered users using my admin name and password, I see the edit icon. If I try logging in under a user name that is not set to be an admin, then the edit button is gone.
Try looking at the user permissions for the people that should be allowed to edit pages from the front end. Site pull down menu/User Manager while in backend. Click on the users that you want to allow editing permission to, then change their group to editor if it's not set to that already. When testing, make sure you log out then back in again as it doesn't seem to change on the fly.
If that doesn't work, also check the article manager / global configuration settings (radio button for icons and the blacklist / whitelist settings)
I have not set up any unusual permissions on my site. From the front end, if I log in to see the pages for registered users using my admin name and password, I see the edit icon. If I try logging in under a user name that is not set to be an admin, then the edit button is gone.
Try looking at the user permissions for the people that should be allowed to edit pages from the front end. Site pull down menu/User Manager while in backend. Click on the users that you want to allow editing permission to, then change their group to editor if it's not set to that already. When testing, make sure you log out then back in again as it doesn't seem to change on the fly.
If that doesn't work, also check the article manager / global configuration settings (radio button for icons and the blacklist / whitelist settings)
-
- Joomla! Apprentice
- Posts: 10
- Joined: Thu Oct 21, 2010 2:16 pm
Re: Disable Front-end edit functionality?
Can someone tell me how to UNHIDE the edit button? My edit button doesnt appear with a template and appears when i use another tempate. So it has to do with my template..
Where in my template/css can i unhide my edit button so i can use the edit button?!
I only find this in my css:
/* edit button */
.contentpaneopen_edit
{
float: left;
}
someone help
Where in my template/css can i unhide my edit button so i can use the edit button?!
I only find this in my css:
/* edit button */
.contentpaneopen_edit
{
float: left;
}
someone help
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat Feb 19, 2011 1:16 am
Re: Disable Front-end edit functionality?
I too lost the Edit icon on articles. It used to appear for authorized users but doesnt any more. I WANT my authors to be able to edit their articles but now the only way is from the back end. Any suggestions? Using v 1.5.20.
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun Jun 10, 2007 1:22 pm
- Location: UK
Re: Disable Front-end edit functionality?
Croland and bendraper's suggestions worked for me - thanks guys
I just need to work out how to remove much of the functionality on the editor for frontend users.
I just need to work out how to remove much of the functionality on the editor for frontend users.
- beededea
- Joomla! Hero
- Posts: 2809
- Joined: Wed Oct 31, 2007 3:48 pm
- Location: Victorian England 1885
Re: Disable Front-end edit functionality?
Which version of Joomla?
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Apr 12, 2011 5:24 pm
Re: Disable Front-end edit functionality?
Thanks brianbush. It works perfectly.The hack above doesn't work for me. I think the file structure may have changed in 1.5. I still can't find any config option to handle this, but there is a CSS hack I use. So far, it seems to work fine. Open the template.css file for your template and add this:
table.contentpaneopen tr td span.hasTip a img {
display: none;
}
That effectively hides the Article Edit icon. It might inadvertently hide something important, but the tag chain seems to be pretty unique.
Raffaele.
- offroadcouch
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Jul 21, 2011 11:27 pm
Re: Disable Front-end edit functionality?
Hey Team,
I'm running Joomla 1.6. I've disabled the front end editing using the following CSS style hack.
ul.actions, span.hasTip a:link, span.hasTip a:visited {
display:none;
}
ul.actions = The edit icon
span.hasTip a:link = The create new article option
I'm running Joomla 1.6. I've disabled the front end editing using the following CSS style hack.
ul.actions, span.hasTip a:link, span.hasTip a:visited {
display:none;
}
ul.actions = The edit icon
span.hasTip a:link = The create new article option
- beededea
- Joomla! Hero
- Posts: 2809
- Joined: Wed Oct 31, 2007 3:48 pm
- Location: Victorian England 1885
Re: Disable Front-end edit functionality?
You do realise you are posting in entirely the wrong area? This is the Joomla 1.0 area. Please post elsewhere.
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
-
- Joomla! Apprentice
- Posts: 36
- Joined: Wed Jan 14, 2009 8:19 pm
Re: Disable Front-end edit functionality?
I found a much easier way to get around this. The front-end edit icon is named edit.png and is stored in /joomla/images/M_images/
I just created a new transparent image that is 1 pixel by 1 pixel, then I uploaded it to the server and placed it in the same folder. POOF.... gone. Yes I know that if someone was really good with their mouse and was able to click on it they could edit it but I have been unable to do it myself and I know where it is.
Works for me.
It's just rediculous that this is an issue with Joomla... I mean... what the heck?
I just created a new transparent image that is 1 pixel by 1 pixel, then I uploaded it to the server and placed it in the same folder. POOF.... gone. Yes I know that if someone was really good with their mouse and was able to click on it they could edit it but I have been unable to do it myself and I know where it is.
Works for me.
It's just rediculous that this is an issue with Joomla... I mean... what the heck?
-
- Joomla! Apprentice
- Posts: 8
- Joined: Tue May 17, 2011 1:44 pm
Re: Disable Front-end edit functionality?
Okay...I've gone through each solution here and none seems to work for me. I have 1.5 and take a look at the following problem I have!
(Here's hoping you can see the picture I just uploaded).
This is driving me nuts!! In that big white block, you can see the Edit Article icon in the corner very faintly....I cannot get rid of this block making it near impossible to work on my site.
I've followed all methods of 'hiding' this icon....which works but creates a big black void over all of my content....so is not a viable solution.
Any ideas would be so appreciated it's not funny!!!
THX!
(Here's hoping you can see the picture I just uploaded).
This is driving me nuts!! In that big white block, you can see the Edit Article icon in the corner very faintly....I cannot get rid of this block making it near impossible to work on my site.
I've followed all methods of 'hiding' this icon....which works but creates a big black void over all of my content....so is not a viable solution.
Any ideas would be so appreciated it's not funny!!!
THX!
You do not have the required permissions to view the files attached to this post.
- beededea
- Joomla! Hero
- Posts: 2809
- Joined: Wed Oct 31, 2007 3:48 pm
- Location: Victorian England 1885
Re: Disable Front-end edit functionality?
@jturvey - You do realise you are posting in entirely the wrong area? This is the Joomla 1.0 area. Please post elsewhere.
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
-
- Joomla! Apprentice
- Posts: 36
- Joined: Wed Jan 14, 2009 8:19 pm
Re: Disable Front-end edit functionality?
Just to check, did you turn on the "Show Icons" option by setting it to "Show" instead of it's default setting of "Global"?
This option is only available only in newer versions of Joomla.
This option is only available only in newer versions of Joomla.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue May 15, 2012 10:32 am
Re: Disable Front-end edit functionality?
Hi all,
After hiding an "Edit" icon by css, what is the best way to prevent a backdoor for edition by badguys.??
Thnx in advance
After hiding an "Edit" icon by css, what is the best way to prevent a backdoor for edition by badguys.??
Thnx in advance
- pe7er
- Joomla! Master
- Posts: 24955
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Disable Front-end edit functionality?
Hiding the edit button using CSS does not disable the front-end edit functionality!tuaftuaf wrote:After hiding an "Edit" icon by css, what is the best way to prevent a backdoor for edition by badguys.??
I'd recommend upgrading to Joomla 2.5.
Joomla 2.5 has an extensive Access Control List (ACL) where you can define user roles,
and e.g. disable front-end editing.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon May 28, 2012 9:05 pm
Re: Disable Front-end edit functionality?
My quick hack is If you go to line 631 of content.html.php and remove the following, the edit icon will no longer appear in the Front-end. After removing the link, no one should get the edit icon in the front-end
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Mar 13, 2013 5:32 pm
Re: Disable Front-end edit functionality?
FOR JOOMLA 2.5
I know this is an old thread but I was looking for a solution to this very problem and there was no help for it. I finally figured it out and wanted to share this with the community. The way I did it was to comment out the output line of the edit argument. It it located at:
joomla_root/components/com_contents/helpers/icon.php
Just comment out the output command
//$output = '<span class="hasTip" title="'.JText::_('COM_CONTENT_EDIT_ITEM').' :: '.$overlib.'">'.$button.'</span>';
and viola...no more edit button.
I hope this helps someone out because I was LOST for a couple days trying to figure it out.
I know this is an old thread but I was looking for a solution to this very problem and there was no help for it. I finally figured it out and wanted to share this with the community. The way I did it was to comment out the output line of the edit argument. It it located at:
joomla_root/components/com_contents/helpers/icon.php
Just comment out the output command
//$output = '<span class="hasTip" title="'.JText::_('COM_CONTENT_EDIT_ITEM').' :: '.$overlib.'">'.$button.'</span>';
and viola...no more edit button.
I hope this helps someone out because I was LOST for a couple days trying to figure it out.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Sat Dec 03, 2011 3:06 am
Re: Disable Front-end edit functionality?
go to the article-> article permission -> public - >set everything to denied
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Aug 04, 2013 9:03 pm
Re: Disable Front-end edit functionality?
In order to do this in Joomla 3.0 and Up (This probably work in earlier versions too) you must edit the default.php for both joomla and your joomla site template.
Here is the path for joomla
/components/com_content/views/article/tmpl/default.php
Comment out the div which contains the button as follows:
<!--<div class="btn-group pull-right">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <span class="icon-cog"></span> <span class="caret"></span> </a>
<?php // Note the actions class is deprecated. Use dropdown-menu instead. ?>
<ul class="dropdown-menu actions">
<?php if ($params->get('show_print_icon')) : ?>
<li class="print-icon"> <?php echo JHtml::_('icon.print_popup', $this->item, $params); ?> </li>
<?php endif; ?>
<?php if ($params->get('show_email_icon')) : ?>
<li class="email-icon"> <?php echo JHtml::_('icon.email', $this->item, $params); ?> </li>
<?php endif; ?>
<?php if ($canEdit) : ?>
<li class="edit-icon"> <?php echo JHtml::_('icon.edit', $this->item, $params); ?> </li>
<?php endif; ?>
</ul>
</div>-->
Now if you still see the icon you must also remove it from your template default.php because this file is overriding the the default.php file from above path resulting in ignoring your changes. To remove from your templates default.php go to:
{site_root}/templates/{your_template}/html/com_content/article/default.php
and do the same changes as above by commenting out the div which contains the button.
<!--<div class="btn-group pull-right">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <span class="icon-cog"></span> <span class="caret"></span> </a>
<?php // Note the actions class is deprecated. Use dropdown-menu instead. ?>
<ul class="dropdown-menu actions">
<?php if ($params->get('show_print_icon')) : ?>
<li class="print-icon"> <?php echo JHtml::_('icon.print_popup', $this->item, $params); ?> </li>
<?php endif; ?>
<?php if ($params->get('show_email_icon')) : ?>
<li class="email-icon"> <?php echo JHtml::_('icon.email', $this->item, $params); ?> </li>
<?php endif; ?>
<?php if ($canEdit) : ?>
<li class="edit-icon"> <?php echo JHtml::_('icon.edit', $this->item, $params); ?> </li>
<?php endif; ?>
</ul>
</div>-->
This should remove illegal changes being done and does not just hide the edit button but should disable the functionality as well.
Here is the path for joomla
/components/com_content/views/article/tmpl/default.php
Comment out the div which contains the button as follows:
<!--<div class="btn-group pull-right">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <span class="icon-cog"></span> <span class="caret"></span> </a>
<?php // Note the actions class is deprecated. Use dropdown-menu instead. ?>
<ul class="dropdown-menu actions">
<?php if ($params->get('show_print_icon')) : ?>
<li class="print-icon"> <?php echo JHtml::_('icon.print_popup', $this->item, $params); ?> </li>
<?php endif; ?>
<?php if ($params->get('show_email_icon')) : ?>
<li class="email-icon"> <?php echo JHtml::_('icon.email', $this->item, $params); ?> </li>
<?php endif; ?>
<?php if ($canEdit) : ?>
<li class="edit-icon"> <?php echo JHtml::_('icon.edit', $this->item, $params); ?> </li>
<?php endif; ?>
</ul>
</div>-->
Now if you still see the icon you must also remove it from your template default.php because this file is overriding the the default.php file from above path resulting in ignoring your changes. To remove from your templates default.php go to:
{site_root}/templates/{your_template}/html/com_content/article/default.php
and do the same changes as above by commenting out the div which contains the button.
<!--<div class="btn-group pull-right">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <span class="icon-cog"></span> <span class="caret"></span> </a>
<?php // Note the actions class is deprecated. Use dropdown-menu instead. ?>
<ul class="dropdown-menu actions">
<?php if ($params->get('show_print_icon')) : ?>
<li class="print-icon"> <?php echo JHtml::_('icon.print_popup', $this->item, $params); ?> </li>
<?php endif; ?>
<?php if ($params->get('show_email_icon')) : ?>
<li class="email-icon"> <?php echo JHtml::_('icon.email', $this->item, $params); ?> </li>
<?php endif; ?>
<?php if ($canEdit) : ?>
<li class="edit-icon"> <?php echo JHtml::_('icon.edit', $this->item, $params); ?> </li>
<?php endif; ?>
</ul>
</div>-->
This should remove illegal changes being done and does not just hide the edit button but should disable the functionality as well.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Sep 14, 2008 7:38 am
Re: Disable Front-end edit functionality?
just find in components/com_content/views/article/tmpl/default.php
$canEdit = $params->get('access-edit');
and comment it out
//$canEdit = $params->get('access-edit');
$canEdit = $params->get('access-edit');
and comment it out
//$canEdit = $params->get('access-edit');
-
- Joomla! Apprentice
- Posts: 11
- Joined: Sun Sep 22, 2013 10:22 am
Re: Disable Front-end edit functionality?
The hack above doesn't work for me. I think the file structure may have changed in 1.5. I still can't find any config option to handle this, but there is a CSS hack I use. So far, it seems to work fine. Open the template.css file for your template and add this:
table.contentpaneopen tr td span.hasTip a img {
display: none;
}
That effectively hides the Article Edit icon. It might inadvertently hide something important, but the tag chain seems to be pretty unique.
table.contentpaneopen tr td span.hasTip a img {
display: none;
}
That effectively hides the Article Edit icon. It might inadvertently hide something important, but the tag chain seems to be pretty unique.
Please read the Forum rules regarding signatures: http://forum.joomla.org/viewtopic.php?t=65
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Oct 03, 2013 10:14 pm
- Location: usa
- Contact:
Re: Disable Front-end edit functionality?
I want to stop individuals modifying content from the front part conclude. Is there a way of switching off this method? I've seen a handful of articles which display some code hacks - I'm just a little concerned that these hacks will vanish while Joomla is upgraded.
Thanks
Thanks
-
- Joomla! Apprentice
- Posts: 34
- Joined: Wed Sep 19, 2012 10:07 pm
Re: Disable Front-end edit functionality?
A simple way is to find the following line (CNTL F) in your bootstrap.css file:
.btn-group > .btn:first-child {}
and add the following inside these brackets:
.btn-group > .btn:first-child
{
display: none;
}
.btn-group > .btn:first-child {}
and add the following inside these brackets:
.btn-group > .btn:first-child
{
display: none;
}
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Sep 14, 2008 7:38 am
Re: Disable Front-end edit functionality?
lara_19800 wrote:The hack above doesn't work for me. I think the file structure may have changed in 1.5. I still can't find any config option to handle this, but there is a CSS hack I use. So far, it seems to work fine. Open the template.css file for your template and add this:
table.contentpaneopen tr td span.hasTip a img {
display: none;
}
That effectively hides the Article Edit icon. It might inadvertently hide something important, but the tag chain seems to be pretty unique.
the hack i put works up to current ver 3.2 . im not sure what u mean by ver 1.5 . if your actually using version 1.5 yea my hack probably doesn't work tho 1.5 is ancient version