File drag & drop

Atto ::: atto_filedragdrop
Maintained by Paul Nicholls
An Atto plugin which adds drag and drop support for files which aren't images.
Latest release:
472 sites
24 downloads
30 fans
Current versions available: 1

Build status

Description

This plugin for Moodle's Atto WYSIWYG editor lets you drag any file into Atto - from documents to videos - in order to upload them into Moodle and add a link to the file within the Atto content.

If you are using Moodle's media filters, any supported multimedia files will display inline via the filter once published.

NOTE:

This plugin does not add a toolbar button or any other visible UI to Atto - it simply detects files dragged and dropped into Atto, automatically uploading them to Moodle.  It does still need to be in your Atto toolbar configuration in order to work, though in most cases this should happen automatically as part of the installation process.


Installation

  1. Make sure you're running Moodle 2.7 or later
  2. Download and unpack the module, renaming the folder to "filedragdrop" if necessary
  3. Place the "filedragdrop" folder in the "lib/editor/atto/plugins" subdirectory of your Moodle installation
  4. Visit http://yoursite.com/admin to finish installation of the plugin
  5. Go to your Site administration ► Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings
  6. Add "filedragdrop" somewhere in the toolbar configuration
NOTE:

If you're running Moodle 2.9.2 or earlier, you'll need to make sure to include "filedragdrop" before the standard "image" plugin in your Atto toolbar configuration, due to a bug which resulted in the image plugin handling but ignoring non-image files. This bug was fixed in Moodle 2.9.3 and 3.0.


Contributors

Paul Nicholls (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Thu, 28 Jan 2016, 2:49 PM
    Prechecker results: 1 errors/0 warnings
    http://integration.moodle.org/job/Precheck%20remote%20branch/20321/artifact/work/smurf.html

    Please consider adding a screenshot of your plugin to help folks get an idea of what it looks like when installed.
  • David Mudrák
    Thu, 28 Jan 2016, 3:21 PM

    Thanks Paul for yet another plugin shared with the Moodle community. I was able to successfully test the functionality and did not spot any problems with the code. I am happy to approve this now. You are cleared to land, welcome to the Plugins directory!

  • Chris Kenniburg
    Thu, 28 Jan 2016, 9:12 PM
    Just tried this out...Awesome work my friend! Thank you for your efforts. This is a great tool for Atto. You just made a whole lot of teachers happy.
  • Just wondering . . .
    Thu, 4 Feb 2016, 10:50 AM
    Paul, looks good.
    I have just got around to installing it.
    Two things, a new suggestion and a feature creep:
    1) is it easy to create a plugin to get a video onto a section, just like you can frag and drop a word file?
    2) for the ATTO plugin, is it easy to add a upload progress bar?

    -Derek
  • C Behan
    Fri, 26 Aug 2016, 10:56 PM
    This is great, thank you.
  • C Behan
    Wed, 3 May 2017, 9:48 PM
    Hi Paul, Have you plans to update this for 3.1?
    Thanks, Catherine
  • Scott McBride
    Wed, 13 Sep 2017, 11:29 PM
    Hi Paul,

    If I am running Moodle 3.3 with your Atto FileDragDrop installed and I drop a file into the Atto Editor window should I end up in one of the javascript files found in this folder:

    editor/atto/plugins/filedragdrop/yui/build/moodle-atto_filedragdrop-button/

    And if I am not, what might be the reason? Improper configuration for this plugin? Or does nothing need to be added to the Toolbar settings for Moodle 3.3?

    Thanks for any advice you can provide.

    Cheers!!

    ..scoTT
  • Ming Lin
    Mon, 29 Jan 2018, 4:26 PM
    Kläder om du har någonsin velat ha en samlad bild av de grundläggande mäns tillbehör och sedan läsa vidare. Denna artikel kommer att ge dig en liten uppdeln,Kläder,ing och en riktlinje för vad som är bäst för dig, och vilka som inte ska gå på en utekväll på stan med dig. Första off-ringar. Dina händer nästan allt,Jeans dam,id är synliga. De kommer att omfattas av handskar när vintern kommer eller om du åker motorcykel, men *endast* medan du är utomhus. Lång hylsa tees, t,Kappor dam,röjor, jackor etc. kommer lämna alltid händerna i. Och dödade i damtidningarna skriva artiklar om "vad hans händer säger om honom" eller "han håller i sin dryck berättar hur han kommer hålla dig" har kvinnor som tar mycket tid och stirrar eller inspekterar dina händer. Bär ringar ger händerna lite mer smak och elegan
  • Yannick Vrolant
    Wed, 19 Sep 2018, 8:08 PM
    Hi,

    I have installed the plugin and configured it properly in the Atto HTML Editor settings (adding the "filedragdrop" line in the toolbar). The Atto HTML Editor is set as the main editor so everything seems okay, still, I have been trying to drag and drop a PDF file within a WYSIWYG field (inside a questionnaire) and it did not work. Any idea what is going wrong ?

    Thanks for helping,
    Best,

    Yannick
  • Andrea Rosito
    Fri, 8 Feb 2019, 12:01 AM
    I use this plugin, It does just what I expected. I use this for my site on Verona.
  • Ivan Reznichenko
    Mon, 11 Feb 2019, 12:29 AM
    I have some problems with cyrillic encoding:
    http://piccy.info/view3/12960502/0617cb3e21f94404cf4b6bccde9e32c3/
  • Eric Breton
    Fri, 12 Apr 2019, 10:34 PM
    Hello, can you tell us if the plugin will support version 3.6 of Moodle in a near future ?
  • Waryu Badae
    Tue, 15 Dec 2020, 10:32 PM
    That is great, i hope you can visit https://situsjudislot.mypixieset.com/ and good luck.
Please login to post comments