Hello,

I'm using Drupal 5.2 and am trying to get SWFUpload 5.x-1.0 to work. I downloaded the module and placed it in the module directory. Then I downloaded the Minimized Library ver. 1.0.2 from http://swfupload.mammon.se/download.php, and installed that in the SWFUpload module subdirectory so that license.txt, README.txt, SWFUpload.js and SWFUpload.swf are now located within: modules/swfupload/swfupload/

I followed the instructions to a T, but when I go in as administrator to "Create Content," I still have the standard HTML upload page.

Any ideas on what I'm missing?

Thanks in advance,

Mikey

Comments

mikey081’s picture

I forgot to mention that I did enable the module, so that's not the problem.

jbrown’s picture

I had this problem also and posted the solution here: http://drupal.org/node/173401

--
Jonathan Brown
http://openpackage.biz/

--
Jonathan Brown
http://jonathanpatrick.me/

mikey081’s picture

Jonathan,

Hmmm...I'm doing something wrong. I read the post and assumed that the patch goes into the swfupload module file. So I copied and pasted it at the end of the existing swfupload module. Did a php.update and cron run, then checked the create content pages. No change.

Pardon me, I'm new to PHP.

Thanks for your speedy help by the way, much appreciated.

Mikey
www.jobjive.com

darcybrown’s picture

I had a similar problem and had to change the javascript onload so that it didn't clash with other onload events. Not sure if this is the same problem you are experiencing or not.

Since we are using jQuery, replaced line 228 of swfupload.module:

window.onload = start_swfupload;', 'inline'

with

$(window).bind("load", start_swfupload);', 'inline'
robloach’s picture

Would you mind posting a patch in the module's issue queue? Also, take a look at DRUPAL-5--2 in the CVS. It uses the new releases on http://swfupload.org which should fix a number of things.