- Posts: 14
COMMUNITY FORUM
In Frontend Editing hide Browse server
- Jan
-
Topic Author
- Offline
- New Member
Less
More
9 years 1 month ago #152166
by Jan
In Frontend Editing hide Browse server was created 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
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 1 month ago #152307
by Krikor Boghossian
Replied by Krikor Boghossian on topic In Frontend Editing hide Browse server
Hello Jan,
Are you using 2.7?
Are you using 2.7?
Please Log in or Create an account to join the conversation.
- Jan
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 14
9 years 1 month 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.
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
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 1 month 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
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
Please Log in or Create an account to join the conversation.
- Jan
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 14
9 years 1 month 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
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 1 month ago #152530
by Krikor Boghossian
Replied by Krikor Boghossian on topic In Frontend Editing hide Browse server
You 're welcome Jan :)
Please Log in or Create an account to join the conversation.