Keyword

Sidebar in editor frontend for user registred

  • Thiago
  • Thiago's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #100812 by Thiago
Please I need help.
I would like to disable the sidebar editor frontend for registered users.
In the global settings have hid the bar, but the button 'toggle sidebar "keeps appearing.
Which PHP file I disable this function?
Thank you.

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

  • Thiago
  • Thiago's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #100813 by Thiago
I found a solution.

media/k2/assents/js/k2.js

line 235

$K2('#k2ToggleSidebar').click(function(event){
event.preventDefault();
$K2

('#adminFormK2Sidebar').toggle();
});

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

More
12 years 2 months ago #100814 by Lefteris
Hi. Modifying the k2.js file is not a good idea. You will loose your changes in case of update. You can try making a template override to the itemform.php or use CSS to hide the bar.

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