How to list each of upload items progress in a CUSTOM notify ? #3307
Replies: 4 comments
-
@kevinstyle I also think this is a good idea, but its implementation is very difficult. We might need to change the specification. We are looking for ideas from everyone. |
Beta Was this translation helpful? Give feedback.
-
It is possible to upload files, one by one separate request in elfinder? |
Beta Was this translation helpful? Give feedback.
-
Yes, it is possible by result example for test (PHP >= 5.4) $opts = [
'bind' => [
'open' => [
function($cmd, &$result, $args) {
if (! empty($args['init'])) {
$result['uplMaxFile'] = 1;
}
}
]
],
'roots' => [
[
'driver' => 'LocalFileSystem',
'path' => '/path/to/files/',
'URL' => 'http://localhost/to/files/'
]
]
]; |
Beta Was this translation helpful? Give feedback.
-
+1, Nice Widget |
Beta Was this translation helpful? Give feedback.
-
Hi, elfinder team
I'd like to dev a custom notify widget that can display each item's Name, Upload Progress, and can Cancel each item by user. Like google drive's behavior and UI, show as below.
I have known that upload behavior is controlled by upload.js and elfinder.js, but it is very difficult to add new notify widget to support this.
Can you team members give me some hint ?
thanks.
Beta Was this translation helpful? Give feedback.
All reactions