Needs work
Project:
SWFUpload
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 May 2011 at 08:44 UTC
Updated:
12 May 2012 at 17:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
shane birley commentedJust wanting to clarify the title.
Comment #2
TimelessDomain commentedComment #3
Fidelix commentedOh this would be good...
Comment #4
Fidelix commentedOr maybe join forces with the plupload module:
http://drupal.org/project/plupload
Would be even better.
Comment #5
kirilius commented+1
Comment #6
milos.kroulik commented+1
Comment #7
jojonaloha commentedI've been working on a port to Drupal 7. It is not perfect, but I have it as a working widget for Image and File fields. I know the draggable ordering doesn't work. There were also some unanticipated changes to the logic in order to get it to work with 7, so there is still some code that is no longer in use.
I've attached two different patches, the git patch is for if you have a git checkout of the project, you can review each commit I made. At one point I had copied the swfupload.swf and js files into and was going to use hook_library, but after reading the Libraries API page, decided that it was better to use that instead. So there is now a dependency on http://drupal.org/project/libraries instead of jqp
Comment #8
thaistore commentedcan you please make a dev release please???
i dont know how to patch this, di i have to patch the d6 with first patch?
or can somebody post a patched module just to be uploaded please, i need this module thank you
Comment #9
thaistore commentedthis module works, tested, works like a charm
http://drupal.org/project/plup
Comment #10
sw3b commented@jojonaloha is it possible to have a ZIP ? Thanks
Comment #11
milos.kroulik commentedI wasn't able to apply the patch using git apply command.
The error I got was:
fatal: git diff header lacks filename information when removing 1 leading pathname components (line 1759)Comment #12
skilip commentedThere's e new release now ready to be tested.
Comment #13
jojonaloha commentedI noticed a few issues when trying to use the latest checkout. I've attached a patch that resolves some of them: hook_perm() and moved hook_requirements() to .install. Also when I tried uninstalling the module (to make sure I didn't break anything when moving hook_requirements) I got a PDO error due to the way variables were being cleaned up.
Some of the remaining issues:
- at first I enabled the module without having the swfupload library downloaded to sites/all/libraries. It looks like hook_requirements() tries to check that, but the implementation doesn't seem to work (using Libraries API 7.x-2.0-alpha2).
- even after installing the swfupload library, I get a "tabledrag.js:164: Uncaught TypeError: Object function (j,s){return new b.fn.init(j,s)} has no method 'cookie'" javascript error (Using Drupal 7.14).