[support] Multiple file download

Chris Miller cjm at tryx.org
Tue Nov 26 00:14:07 UTC 2013


> From: "Anoop John" <anoop.john at zyxware.com>
> To: support at drupal.org
> Sent: Monday, November 25, 2013 3:55:21 PM
> Subject: Re: [support] Multiple file download

> Check this out

> http://stackoverflow.com/questions/2339440/download-multiple-files-with-a-single-action

This is very clever and, interestingly, not beyond my ability. Even so, I don't think JavaScript in the browser is really the place to implement this function, if only because it requires the "cleverness" of creating the iframes and so on. Finally, believe it or not, there are still some people that disable JavaScript, and I don't see any degraded fall-back position for this design. 

So, I still seek a native Drupal solution. If there is an existing way to accomplish this, then I should use that, and if not then I must consider a module. 

I have a partial solution: I can represent the downloadable content in a view as a set of fields displayed as a check-box with a label, so if I can add a "Submit", then I think I can write a hook_menu function to receive and process the download request. I think I should be able to see the values of the set of check-boxes, and I hope the path to the file is a persistent property that I can also see. 

I don't know how to add a "submit" button to a view. 

Chris. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20131125/dd29f5a2/attachment.html 


More information about the support mailing list