how can i disable or remove file browser from the product page in vendor
when they try to upload and image they can open file browser and they can see private files and public files so I don’t want them to manage and browse the files and images just upload an image and that it
so I want to remove file browser or disable it in vendor and disable the upload image by URL
so please guide me
Hello
Create file vendor.post.php in dir /app/addons/my_changes/schemas/permissions/
with content
$schema['controllers']['file_editor'] = array (
'permissions' => false,
);
return $schema;
Make sure that the My Changes add-on (example add-on) is active
Best regards
Robert
Hello
Take a look at this file
/js/lib/redactor2/plugins/imageupload/imageupload.js
Best regards
Robert
It looks like the very important part of the file is missing from Robert’s code.
Please add these ones:
<?php
lines of the code just prior those ones offered by Robert.