DocBinder

Component ID

2391267

Component name

DocBinder

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1674

Component created

Component changed

Component body

Overview

DocBinder is an extension of the original ZipCart module by xurizaemon. This module allows users to collect file attachments from a site and download all in one zipped file.

What's different? a.k.a Features

  • Instead of adding new field formatters, this module overwrites the default field formatters "Generic link" and "Table of files" for both file and image fields.
  • Adds an admin interface to the module to define which content types this should work on.
  • Adds a dedicated page for the user to review the content of the DocBinder before downloading the files.
  • Files in the DocBinder can be removed via the preview page or from the node page this file is attached to.
  • New in 2.0: Module provides an additional field formatter which returns the file id (fid), only. This can be used for rewrite purposes in Views.
  • New in 2.0: When rewriting file fields in Views, you can create toggle links which will add or remove a file to/from download collection depending on whether it has been added already or not.

Why a new module?

At first, I simply wanted to extend the original ZipCart module. I offered several patches to ZipCart and xurizaemon showed interest in the proposed changes but never commented on them. Since the patches started to rely on each other, I created a new version of the original module, a 7.x-2.x branch. Since I didn't get co-maintainership for the original module and xurizaemon didn't answer anymore, I created a sandbox module (at that time simply called ZipCart 2) to keep track of the numerous changes I made to ZipCart.
Now, after more than a year without any comments or answers, I decided to publish the module on my own (now called DocBinder).

Notes

DocBinder will not be able to add previously uploaded files to a collection if the site's default file system (public vs. private) has been changed.

Credits

The original module ZipCart was written by xurizaemon, it provided the main functionality to collect downloads and create a zip file on the fly out of that collection. Credits for the idea and base code for changing the default field formatters go to TimeFor, the themable table code and the extended admin options were provided by sdsheridan (co-maintainer as of March 8, 2016).
The original extension development was funded by Ecologic Institute.