Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have Audio filed version 7.x-1.0-beta8 installed and have configured the audio field so that a user can upload up to 10 audio files in one node.
But when I am uploading content I am able to upload only one audio file.The "Add another file" option is not coming.I am using the WordPress player.
I was able to view the "Add another file" option after saving the node and editing it.Why it is not coming while creating the content like the other file uploads
Comment | File | Size | Author |
---|---|---|---|
#9 | not-able-to-upload-multiple-audio-files-2055327-9.patch | 1.51 KB | ssimdev |
Comments
Comment #1
ktrev CreditAttribution: ktrev commentedComment #1.0
ktrev CreditAttribution: ktrev commentederror in the content field
Comment #2
car3oon CreditAttribution: car3oon commentedI'm facing the same problem with this module and i have the same version as ktrev.
Did anyone find a solution fot that?
Comment #3
fchandler CreditAttribution: fchandler commentedI found, if the content type is saved or previewed, then one is able to add another file to the field.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous as a volunteer and at Websolutions Agency commentedComment #5
dorien CreditAttribution: dorien commentedI have the same issue, with the normal player. Only allows a second upload when saving and editing again. I use 7x 1.2
Comment #6
zpolgar CreditAttribution: zpolgar commentedI have the same experience than #5. Multiple upload is only allowed, if the node has been saved before with one audio file.
Comment #7
ssimdev CreditAttribution: ssimdev at Websolutions Agency commentedAdded ajax settings and submit handler to the upload and remove file in audiofield_field_widget_process().
Comment #8
msajko CreditAttribution: msajko at Websolutions Agency commentedPatch #7 is generated as patch for custom Drupal project and not as patch for this module.
Please upload patch one more time but create it for example like this:
Comment #9
ssimdev CreditAttribution: ssimdev at Websolutions Agency commentedPatch for this module part, fixed.
Comment #10
msajko CreditAttribution: msajko at Websolutions Agency commentedGreat job