Keyword

toggle sidebar will not hide

More
7 years 8 months ago - 7 years 8 months ago #156638 by Denis
toggle sidebar will not hide was created by Denis
Hello K2, I have latest DEV verion running on latest Joomla and PHP 5.5.35.

As according to e.g. this post: www.joomlaworks.net/forum/k2-en/46248-toggle-sidebar-with-display-settings-in-frontend-editing#156248

with this K2 dev version, selecting 'hidden' in: parameters -> advanced -> default state for item sidebar and also here: parameters -> frontend editing -> default state for item sidebar. This should hide the toggleside bar but it doesn't. It should hide it as in - the option to select or open it shouldn't even be there, I believe.

I have overrides setup correctly. And when I edit itiemform.php the changes don't take effect. If I add display: none; to the k2.frontend.css (a#k2ToggleSidebar {display:none;) this has no effect either.

Any ideas what I'm doing wrong or missing?
Ideally I'd like to pick and choose what is available to a user when they edit their item on the frontend.

Any help or ideas much appreciated.

Kind regards
Last edit: 7 years 8 months ago by Denis.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 8 months ago #156641 by Krikor Boghossian
Replied by Krikor Boghossian on topic toggle sidebar will not hide
Chances are you are using an obsolete override.
Backup your edits and the itemform.php file (I cannot stretch this enough) and remove the /templates/YOUR_TEMPLATE/html/com_k2/itemform.php

This will ensure that the default is being used.
From that point you can override it and edit it.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum