Posted by ytsurk on May 5, 2011 at 8:44am
17 followers
| Project: | SWFUpload |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
| Issue tags: | d7 ports, drupal 7 port |
Issue Summary
is here anything planned ?
Comments
#1
Just wanting to clarify the title.
#2
#3
Oh this would be good...
#4
Or maybe join forces with the plupload module:
http://drupal.org/project/plupload
Would be even better.
#5
+1
#6
+1
#7
I'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
#8
can 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
#9
this module works, tested, works like a charm
http://drupal.org/project/plup
#10
@jojonaloha is it possible to have a ZIP ? Thanks
#11
I 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)#12
There's e new release now ready to be tested.
#13
I 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).