-
Notifications
You must be signed in to change notification settings - Fork 512
Description
In Chamilo 1.11, when uploading a file, you have an option to choose a "Simple" form rather than a drag&drop area.
This option gives you additional settings to choose from:
The Title and Comment fields are not really important (users can change them afterwards) but the "Uncompress zip" and the "If file exists" options must still be present in C2.
In C1, we used to call document.ajax.php with action = upload_file for the drag&drop, but the "simple" form would just call main/document/upload.php again (with recent changes including bigUpload.js).
In C2, we don't have that bigUpload stuff yet (because of the way we have split C1 and C2 2 years ago), and there is no mechanism to pass those "if_exists" and "unzip" options.
Please add those options to the current documents API, so that front-end devs can extend the current upload feature to include these options.