Blocks: Drag and drop file upload

block_dndupload
Maintained by Davo Davo Smith
Drag and drop one or more files directly from your desktop into a Moodle course - if you have Moodle 2.3 or above, this functionality is already present

Drag and drop file upload 2011072200 for Moodle 2.0, 2.1

Picture of Gavin Henrick
Gavin Henrick
Wednesday, 28 September 2011, 1:40 AM
General comments

What does it do?

The module enables you to drag a file from your desktop onto your browser window containing your Moodle 2 course. Although this does not work with IE yet (it is using HTML 5), it has been tested on Firefox 5, Chromium 14 and Chrome 12 on Windows and Linux. I only use IE for testing so this isn’t a problem for me.

Is it simple to install?

The module source is managed on github, so like other modules you can browse the source or choose to download a zipfile of the plugin.

I recommend you download from the plugin database here which provides you a nice zip with the correct folder inside. Since if you download directly from github managed modules this does not download as a pretty (instantly usable) zip file name or folder name.

When installing the plug-in, it caused no errors and there was no extra global settings to configure.

Is there documentation for it?

The plug-ins page has the step by step instructions for installation as does the README file in the downloaded zip. It also gives greater explanation about what the module does and what testing it has had. There is a current forum discussion about it and there is a detailed documentation page on Moodle Docs.

Is it easy for the teacher/admin to use?

I am always a bit careful about using ajax in enterprise system just in case something is not working as intended! So after a strong coffee I loaded up my Moodle 2 test install and added the block to a course. The block added just fine and sat there waiting.


So I dragged over a file from my desktop to the course area and saw the appearance of “Add a file” appear, very similar to how gmail behaves. The files was added successfully.

When i edited the resource entry, it had a name 003.doc which was the same as the original file, an 003.doc in the description, and default resource settings. Perfect!

Is it easy for the learner/student to use?

As a student cannot upload files, a student cannot see the block or make file uploads.

Does it do what it promises?

Oh yes. This is really quite cool and will save some people oooodles of time (or is that mooOoodles? of time) . This is the most useful module that Davo has made yet, and i can already see some interesting variations which he could add down the line. Here's hoping!