Keyword

In Frontend Editing hide Browse server

More
8 years 6 months ago #152166 by Jan
Hello,

I need help, please. In K2 Parameters > Frontend Editing I need to hide in the Image tab the Browse server. I don't want users (authors) had access to Media Manager.

I think that for Media Manager is not a way to assign ACL permissions.

Therefore, it seems the easiest in Image tab hide "Browse server".
It is possible to add this option into version 2.7.1.?

Or you advise me some hack?

Screenshots 1
Screenshots 2

Thank you very much for your help. Have a nice day.

Best regards,
Jan

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152307 by Krikor Boghossian
Replied by Krikor Boghossian on topic In Frontend Editing hide Browse server
Hello Jan,

Are you using 2.7?

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

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

More
8 years 6 months ago #152332 by Jan
Replied by Jan on topic In Frontend Editing hide Browse server
Hello Krikor,

Yes, I use K2 v2.7.0.

I probably solved it. I removed from the file itemform.php (/components/com_k2/templates/default/itemform.php) rows 253-257.
<br />
<br />
<input type="text" name="existingImage" id="existingImageValue" class="text_area" readonly />
<input type="button" value="<?php echo JText::_('K2_BROWSE_SERVER'); ?>" id="k2ImageBrowseServer"  />
<br />

I do not know if is security in order. But it works.

Is it right?
The ideal option would be to hide in the settings K2 Parameters without modifying code. Would it be possible?

Thank you very much for your help. Have a nice day.

Best regards,
Jan

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152366 by Krikor Boghossian
Replied by Krikor Boghossian on topic In Frontend Editing hide Browse server
You were 90% correct.
However you should use overrides since updating will result into losing your edits.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

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

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

More
8 years 6 months ago #152504 by Jan
Replied by Jan on topic In Frontend Editing hide Browse server
Hello Krikor,

Thank you. I did it as instructed.

Have a nice day :)

Jan

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152530 by Krikor Boghossian
Replied by Krikor Boghossian on topic In Frontend Editing hide Browse server
You 're welcome Jan :)

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