YUI file uploader progress bar
You need to be logged in to get access to the forums. You can do so here
Author
|
Message
|
Wei Dai
|
Terça-Feira, 8 de Setembro de 2009, 3:15:06
- workarounds
Ok. I made it with some work rounds. I am not modify or use any eZ Publish datatype. I set up an custom extension module to do the upload. Upload the file into a sub directory under the var directory. Then, I use a custom action to set up an information collector attribute, just a text line this case, to store the path information of the uploaded file.
I know it is not perfect. But, at least it works.
|
Wei Dai
|
Quarta-Feira, 26 de Agosto de 2009, 22:09:13
- It is surprisedly difficult
I realized that this is just too complex. I don't know how to do it yet. Is the file uploaded alone with the other fields of the form? How it is possible? The file upload suppose to be uploaded first on the server already before other fields? What happens when other fields failed validation after the file was uploaded? Do I need custom action?
The uploader bar feature will be implemented as ajax server?
The original/default ezbinary file doesn't need consider this, because it is not support information collector! This is why I want to use the EnhancedeZBinaryFileType.
All in all, I have no clue where to start.
|
Graham Brookins
|
Quinta-Feira, 20 de Agosto de 2009, 2:28:56
- Yes you can!
Hello
I think one could modify the enhancedbinaryfile datatype with further modifications to provide a status bar upload functionality by creating a modified copy. I think which kind of upload functionality you use (re: yui) is up to you to decide. I too am fond of yahoo's js framework/api, it's always neat.
I've done things like this before, it is possible but it does require additional development.
Cheers
7x | Formerly Brookins Consulting | eZ Partner | http://brookinsconsulting.com/
https://github.com/brookinsconsulting
http://projects.ez.no/users/community/brookins_consulting
http://share.ez.no/members-compan...y-company-member/brookins-consulting
|
Wei Dai
|
Quinta-Feira, 20 de Agosto de 2009, 0:29:26
- YUI file uploader progress bar
Hi, I want to achieve something on the contact form by using the Enhanced eZ Binary File Type (http://projects.ez.no/enhancedezbinaryfile). I need add a upload progress bar, as it used with the ezmultiupload (http://projects.ez.no/ezmultiupload).
Is it possible?
I think this is just a question to use a js library, preferably the yui library, right?
|
You need to be logged in to get access to the forums. You can do so here