Hi there,
I'm looking for an experienced Drupal developer who can write a Views 2 plugin that will create a single Zip archive of any files that are connected to a list of nodes. The plugin would provide a "Download ZIP" link at the top of the View. For example:
[Download ZIP]
Node 1 Title...
This is node 1 body text...
Node 2 Title...
This is node 2 body text...
[file attachment 1]
Node 3 Title...
This is node 3 body text...
[file attachment 1]
[file attachment 2]
For performance reasons, the ZIP should not actually be created until the user clicks on the Download ZIP link. That should fire an AJAX call to the plugin to start creating the ZIP and show the user a spinner or progress bar. When the ZIP is complete, the file is returned to the user's browser and pops open the standard "Save this file" dialog box.
I'm also open to other ways to accomplish this, so let me know if you have other ideas.
So to recap, the required skills are:
- Drupal 6.x
- Views 2
- jQuery and AJAX
- Drupal module / Views plugin development
If you're interested, please use my contact form and send me a message that includes:
1. Information about your background and experience.
2. A link to a module or plugin you maintain, or have contributed to.
- or, if the code isn't publicly released, a description of what you've done.
3. A link to any jQuery and AJAX sample code you've written.
4. Your hourly rate.
5. Approximately how long this plugin might take you to write and when you could deliver a first version, if hired.
Individual contractors only, please. No development firms. Thanks!
Comments
This seems to have views
This seems to have views support:
http://drupal.org/project/pclzip_zip_content_files
Thanks for the heads up,
Thanks for the heads up, ufku. The pclzip module does have the right idea, but there are two things that don't meet my needs:
- It uses the Upload field instead of the CCK file field.
- It automatically zips content rather than waiting for a user action (the AJAX component of my request)
Is adding these modifications something you (or anyone else reading this) would be interested in taking on?
Thanks!
As far as i tested, it
As far as i tested, it neither depends on upload module nor zips the files automatically.
And it does support cck file field.
You can remove the upload dependency on info file with no problem.
You can set the cck fields that will be scanned for files in block('Zip content') settings.
The block just prints a form(only a package button is visible. No automatic zipping)
When the form is submitted, the zip is created and sent to client.
Yes, ajax is missing and seems to be not necessary in this scenario.
Wow, I hadn't realized there
Wow, I hadn't realized there were CCK options under the block settings. Thank you! I'll double check on when the Zip is created. If it is indeed only getting created when a user clicks on the download link, then this solution meets my needs. Thanks for all your help, ufku!