Keyword

Image permissions are set to "Read" in frontend

  • Martin Gustavsson
  • Martin Gustavsson's Avatar Topic Author
  • Offline
  • New Member
More
12 years 6 months ago #64457 by Martin Gustavsson
Image permissions are set to "Read" in frontend was created by Martin Gustavsson
When using the image editor (elfinder) in the frontend, I only get read access to files and folders. In backend I have full access. The folder and file permissions are set to 777 (just to test).

In the attached file you can also see a padlock indicating read access only.

How can i get write access from frontend?
Attachments:

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

More
11 years 9 months ago #64458 by hibrix
locate the following file within your instalation: ../site/administrator/components/com_k2/controllers/media.php

open media.php with a code editor and locate line 57 & 60

line 57: return ($mainframe->isSite()) ? false : true;

line 60: return ($mainframe->isSite()) ? true : false;

change the values to following

line 57: return ($mainframe->isSite()) ? true : true;

line 60: return ($mainframe->isSite()) ? false : false;


that's it, enjoy ;)

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


Powered by Kunena Forum