A single HTTP request can send back only one file. So I don't think a Drupal solution is possible.

Thanks
Anoop John
Chief Technology Officer

Zyxware Technologies
Be the change you wish to see in the world M. K. Gandhi


On Tue, Nov 26, 2013 at 5:44 AM, Chris Miller <cjm@tryx.org> wrote:
From: "Anoop John" <anoop.john@zyxware.com>
To: support@drupal.org
Sent: Monday, November 25, 2013 3:55:21 PM

Subject: Re: [support] Multiple file download

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.


--
[ Drupal support list | http://lists.drupal.org/ ]