When I first implemented the drag/drop of files into the Content -> Files part of Mahara there was a bit that (tried to ) allow dropping of files into a block that used a filechooser.
But at the time I couldn't get it to work - partly because the timeframe to get the next release out was looming and partly I'd only been working with Mahara for a few months so the ability to drop a file onto a block config was suppressed.
The blocks with the filebrowser have the 'file_dropzone_container' hidden via css. What is lacking is the rewiring of this zone to use the artefact/file/js/dropzone.js functions - currently on Content -> Files page the dropzone is the whole page
What will be needed is to alter that so we can specify what exactly is the dropzone so that block configuration form can have a specific place as the dropzone.
Hi Domi, Aaron
When I first implemented the drag/drop of files into the Content -> Files part of Mahara there was a bit that (tried to ) allow dropping of files into a block that used a filechooser.
But at the time I couldn't get it to work - partly because the timeframe to get the next release out was looming and partly I'd only been working with Mahara for a few months so the ability to drop a file onto a block config was suppressed.
The blocks with the filebrowser have the 'file_dropzone_ container' hidden via css. What is lacking is the rewiring of this zone to use the artefact/ file/js/ dropzone. js functions - currently on Content -> Files page the dropzone is the whole page
What will be needed is to alter that so we can specify what exactly is the dropzone so that block configuration form can have a specific place as the dropzone.
Cheers
Robert