I am trying to create a plupload provider where i receive several files in the hook_scald_add_form_fill().

But scald always creates a single atom and cant really override that with hooks.

I can probably throw that atom away, and create an atom for each file I receive in the hook_scald_add_form_fill(), however I wonder if there is any nicer solution for this?

Comments

jcisio’s picture

While hook_scald_add_form_fill() does not accept an array of atoms as argument (and it won't, at least not before 1.1), I think you need to do tricky things with hook_form_alter() etc.

jcisio’s picture

Status: Active » Fixed

Now there will be a way: #1951272: Bulk-Upload with Drag & Drop.

drupa11y’s picture

You are awesome. THANKS !!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.