Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Hide edit-button / language tab

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello,

i would like to hide the "edit" button and the language tab. It is not necessary to deactivate it.
Is it possible to do this with the custom.css?
If i had one example how to hide it, i could work my way throug with the inspector/firebug so i can hide other buttons / tabs.

Thank you
Franz
Attachments:
  • Keisinger's Avatar
  • Keisinger
  • 6 Month Developer
  • 9 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Franz,

You are editing via the front end of the site?

Is that correct

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hello,

i want to give a small number of users the right to create articels via the frontend.
For this i use the ark inline editor from arkextensions.com. The possible settings for the users are very restricted, for example the publishing is directly after the saving of the article.
So i want to hide every button on the frontend that is not absulutely necessary.
I neither need the button to get into the editing mode (this mode i reach through the inline editor) nor most of the buttons inside the editing mode (needed features will be provided by the editor itself).

Hope this was helpful.

Greetings from Germany
Franz
  • Keisinger's Avatar
  • Keisinger
  • 6 Month Developer
  • 9 posts
  • Karma: 0
Last Edit: 7 years 2 weeks ago by Keisinger.
The administrator has disabled public write access.
Hi Franz,

You can change the template overide for the form-

\templates\buildr\html\com_content\form\edit.php

You edit the section listing the list elements

<ul class="zen-nav zen-nav-tabs">
<li class="active"><a href="#editor" data-toggle="tab"><?php echo JText::_('JEDITOR') ?></a></li>
<?php if ($params->get('show_urls_images_frontend') ) : ?>
<li><a href="#images" data-toggle="tab"><?php echo JText::_('COM_CONTENT_IMAGES_AND_URLS') ?></a></li>
<?php endif; ?>
<li><a href="#publishing" data-toggle="tab"><?php echo JText::_('COM_CONTENT_PUBLISHING') ?></a></li>
<li><a href="#language" data-toggle="tab"><?php echo JText::_('JFIELD_LANGUAGE_LABEL') ?></a></li>
<li><a href="#metadata" data-toggle="tab"><?php echo JText::_('COM_CONTENT_METADATA') ?></a></li>
</ul>

Try commenting out the lines not needed

Please back up the file first

Cheers,
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
With the edit button don't you need that to edit articles?
Does "ark inline editor" mean this isn't needed?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hello,

no, i don´t need the edit button. I have made a screenshot for you. If you are on a page with any content or module you have the right to edit, the sidebar pops up and you can activate the edit-mode. Then you can click directly in any content you like to edit and a toolbar appears. To create a new article you can go on "new article" in the sidebar.
If you like to try the solution on my website, i can open a ticket.

Greetings from Germany
Franz
Attachments:
  • Keisinger's Avatar
  • Keisinger
  • 6 Month Developer
  • 9 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Franz,

Did my first answer work ok for you?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
With the modules you can turn off the edit icon I believe via the global configuration and the site tab

Setting being

"Mouse-over Edit Icons for"

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Can you confirm this works for modules and I'll check with the developers on the article override
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I try that with the corporation template here 2017.ats-buntentor.de/

I try to add the components/com_content/views/form/tmpl/edit.php
to
templates/corporation/html/com_content/form/edit.php
but nothing happens
I wanna remove all the option of th accordeon, the users will being able to edit only text and image. It´s possible?

any idea?

Ricardo
  • ricardos's Avatar
  • ricardos
  • LIfetime Developer - Big Bamboo
  • 297 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Ricardo,

Can you indicate in a picture what you want to remove?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
the form aloow text picture and many other parameters, all the parameter I wanna remove, only the picture and the text wil be show to edit.

Cheer
Ricardo
  • ricardos's Avatar
  • ricardos
  • LIfetime Developer - Big Bamboo
  • 297 posts
  • Karma: 0
The administrator has disabled public write access.
Sorry, Ricardo, I'm not clear what you are referring to

Are you wanting to change a module or an article via the front end?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Is this what you are wanting to change? e.g. the tabs showing in an article


2017-09-14_01h52_10.png



Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes,
my intention is put available only Text Editor and image Botton to users manipulate, all others parameters of the frontend edit form I wanna hidde. I means, all the accordion tabs of the pic I post.
how can I do that?
  • ricardos's Avatar
  • ricardos
  • LIfetime Developer - Big Bamboo
  • 297 posts
  • Karma: 0
Last Edit: 6 years 7 months ago by ricardos.
The administrator has disabled public write access.
now I understand your doubt, is a custom html module to be edited by frontend users
  • ricardos's Avatar
  • ricardos
  • LIfetime Developer - Big Bamboo
  • 297 posts
  • Karma: 0
The administrator has disabled public write access.
What editor are you using? the default or Joomla?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
hey paul

I use the JCE editor

cheers
  • ricardos's Avatar
  • ricardos
  • LIfetime Developer - Big Bamboo
  • 297 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Ricardo,

The style I suggested before removes these options


2017-09-14_23h11_01.png



.form-validate #options {
display: none;
}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
hey paul,

it´s doens´t affect anything
  • ricardos's Avatar
  • ricardos
  • LIfetime Developer - Big Bamboo
  • 297 posts
  • Karma: 0
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers