If we have several fields using plup upload, the files will go to the last one only.

As a test, create a new content type that has two image fields and that are using plup as widget. Then just upload files to the first widget and save. Go to edit age again and you will see that you actually uploaded files to the second widget.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

BrianLewisDesign’s picture

same, all uploads go to the last one plup field.

justindhoffman’s picture

The issue is that plup fields are created and identified with html id not class.

JessicaDenkelaar’s picture

I've got the same problem. I think the solution lies in what Justin says. Has someone already have a distribution with classes instead of ID's?

Anonymous’s picture

Status: Active » Closed (fixed)

Should work with the latest dev.

justindhoffman’s picture

Status: Closed (fixed) » Needs review
FileSize
18.6 KB
3.12 KB
7.3 KB

The posted dev (from July 3) does not work with multiple fields. It doesn't incorporate separate IDs for each field, nor separate settings for each, as has been discussed here.

I have come up with these patches from the lastest dev version. I also attached a complete working folder for those bad at patches.

I have tested them and they work for me. Hopefully someone else will find them useful.

JessicaDenkelaar’s picture

I tried the dev this morning and it didn't solve the issue. Just tried the patch Justin submitted and it works. Awesome! Good work! I really needed a solution for this.

lorisbel’s picture

I tried patch #5 and it works! Thanks!

drupalfo’s picture

Is this included in the current release or is going to be included in the current release?

drupalfo’s picture

Issue summary: View changes

Forgot some stuff