at the moment swfupload and upload are both weighted at 0, so their order of execution is undefined. swfupload must be executed after upload.

CommentFileSizeAuthor
#1 swfupload.install.txt231 bytesrobloach

Comments

robloach’s picture

Status: Active » Needs review
StatusFileSize
new231 bytes

Think this will do it?... swfupload.install attached.

robloach’s picture

Whoops, that should read:

// $Id$

/**
 * Install hook for the SWFUpload module to change the module's height
 */ 
function swfupload_install() {
  db_query("UPDATE {system} SET weight='10' WHERE name='swfupload' AND type='module'");
}
jbrown’s picture

yeah - thats the right idea

robloach’s picture

Title: swfupload needs to be weighted higher than upload » SWFUpload Weighted Higher Than Upload
Assigned: Unassigned » robloach
Status: Needs review » Fixed
mikey081’s picture

Just wondering into which file this script needs to be implemented? Still having trouble getting SWFUpload to work. http://drupal.org/node/174666#comment-270328.

Thanks!

robloach’s picture

Make sure you download SWFUpload 5.x-1.x-dev, because it supposedly implements the weight fix.

Anonymous’s picture

Status: Fixed » Closed (fixed)