Talk:Course drag and drop upload: Difference between revisions
(Created page with "Note: i'm a little out of touch with the mod/ api, so this may not make mod-type sense. I think I agree with the basic principle of the design, but rather than '[modname]_dndupl...") |
No edit summary |
||
Line 4: | Line 4: | ||
I'm not clear on what can be done with non-file types of drag/drop. Can you give some examples of this? --[[User:Dan Poltawski|Dan Poltawski]] 00:21, 20 January 2012 (WST) | I'm not clear on what can be done with non-file types of drag/drop. Can you give some examples of this? --[[User:Dan Poltawski|Dan Poltawski]] 00:21, 20 January 2012 (WST) | ||
If you want to see what non file types can do, try installing my block. Basically, dragging a URL (from the address bar or from a page) can create a link resource, dragging a selected block of text can create a page resource ... Maybe other people can come up with further examples--[[User:David Smith 2|David Smith 2]] 00:34, 20 January 2012 (WST) |
Latest revision as of 16:34, 19 January 2012
Note: i'm a little out of touch with the mod/ api, so this may not make mod-type sense.
I think I agree with the basic principle of the design, but rather than '[modname]_dndupload_register' which receives dndupload_handler object, I would go for something of something a bit like the repository API with something like a static '[modname]_supports_dndupload' function which returns which types it supports.
I'm not clear on what can be done with non-file types of drag/drop. Can you give some examples of this? --Dan Poltawski 00:21, 20 January 2012 (WST)
If you want to see what non file types can do, try installing my block. Basically, dragging a URL (from the address bar or from a page) can create a link resource, dragging a selected block of text can create a page resource ... Maybe other people can come up with further examples--David Smith 2 00:34, 20 January 2012 (WST)