This instruction was terribly confusing:
{code}Step 1: Download libraries from http://www.dropzonejs.com/ and push it in: site/all/libraries/dropzonejs{code}
'sites/all/libraries' is a D7 convention, not D8. In addition, it was not clear that I need the full library, not simply the js linked on the dropzone website. It was not until I looked at the patch for 'warning when JS library is not available' that I realized the problem. Here are suggested changes for the documentation:
Step 1: Download the libraries from http://www.dropzonejs.com/.
- You need the full library which is easily available from the github repo: https://github.com/enyo/dropzone/tree/master/dist
- Install the library folder in /your-drupal-docroot/libraries/
- The full path to the required js file should be: /your-drupal-docroot/libraries/dropzone/dist/dropzone.js
Comments
Comment #2
primsi commentedComment #3
primsi commentedThe d.o project page was in fact outdated (inherited from the non-existing 7.x branch). I've updated it with your suggestions. Thanks for pointing that out and suggesting changes.
Comment #5
plato1123 commentedIt seemed like on my end that it wanted the minified version of the library in the min subfolder, so on my end the path that seemed to work was:
docroot/libraries/dropzone/dist/min
Comment #6
robert_t_taylor commentedWhat solved this issue for me was the same as plato1123
Comment #7
xm8963 commented#5 is right