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...
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
Comment #1
ssm2017 Binder commentedthis 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
Comment #2
ssm2017 Binder commentedi 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.
Comment #3
derjochenmeyer commentedCOOL, this is pretty close to, or even better than my request, thanks. Ill test it.
Comment #4
derjochenmeyer commentedI'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
Comment #5
ssm2017 Binder commentedplease 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.
Comment #6
30equals commentedHi, 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.