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

Tuesday 08 September 2009 3:15:06 am - 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

Wednesday 26 August 2009 10:09:13 pm - 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

Brookins Consulting | eZ Partner | http://brookinsconsulting.com/

Thursday 20 August 2009 2:28:56 am - 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

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

Thursday 20 August 2009 12:29:26 am - 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