Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
All that's needed is to add this to the form api
'#name' => "files[{$field_name}_zip][]",
'#attributes' => array('multiple' => 'multiple'),
rewrite file_save_upload() to handle input instead of having $_FILES hard coded and only unzip zip files & let image files pass through.
Comment | File | Size | Author |
---|---|---|---|
#3 | imagefield_zip-1295334-3.patch | 11.68 KB | mikeytown2 |
#2 | imagefield_zip-1295334-2.patch | 10.77 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedhttp://drupal.org/project/transliteration
#1243974: Supporting Files uploaded as an array
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedThis does work, now I need to figure out what to do with the code... thinking new module.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedworking with CCK 3 multi-groups as well.
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedThis has been committed. Will create new issues for followup
Comment #5.0
(not verified) CreditAttribution: commentedUpdated issue summary.