A super cool feature would be to dynamically create a list of files to be archived. A view type could be created "File Archive". This view would not show any content, but only a link to a zip-file of files found...

Comments

ssm2017 Binder’s picture

this is a good idea for sure, but for the moment, i dont know how to dev for "views"
i have tried to list files attachments but it looks like there is a bug.
http://drupal.org/node/373100
i will try to see how to do something like this when the bug will be solved

but i have an idea... maybe i can build a "block" that will get all the attachments of the files listed in the main content

ssm2017 Binder’s picture

i have just done this one : http://drupal.org/project/pclzip_zip_content_files
this is a block to show a link to get a zip containing all the attached files from all displayed nodes.

derjochenmeyer’s picture

COOL, this is pretty close to, or even better than my request, thanks. Ill test it.

derjochenmeyer’s picture

I've tested the module. It works great for standard teaser listings, but not for views with listed fields. I couldn't figuring out how to intercept the views $data to extract the FIDs

ssm2017 Binder’s picture

please report issues about this module in its issue queue : http://drupal.org/project/issues/pclzip_zip_content_files
about the "views" module integration, there is no implementation yet because :
* im not able to dev for the "views" module right now
* the attachments list in the "views" module is buggued ( http://drupal.org/node/373100 ) so i cannot try to analyze how it is working, i prefear to wait for their fix first.

edit 09/02/14 : i have just updated http://drupal.org/project/issues/pclzip_zip_content_files to list the attachments from a "views" page listing nodes.

30equals’s picture

Status: Active » Closed (won't fix)

Hi, you might want to take a look at the Download module - http://drupal.org/project/download. This module is field based, and can easily be used in views.