Link Vault Zipper

Developer

Masuga Design

3rd Party (Free)

5 downloads (last 90 days)

MIT License

EE Version Support

  • ExpressionEngine 2
  • ExpressionEngine 3

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Extension

Tags

The Link Vault Zipper extension is a companion add-on to the Link Vault module. It allows you to zip multiple files on the fly for a user to download using Link Vault's regular template tags. The zipped files are tracked individually in the download log as if the user downloaded multiple files separately.

This is a companion add-on to Link Vault. Link Vault is required.

Link Vault Zipper Features

  • Generate and download zip files on the fly
  • Automatically delete the zip file from the server when the download completes (optional)
  • The extension creates Link Vault download records for each file in the zip file
  • The extension uses your Link Vault module settings to determine functionality.

Link Vault Zipper Requirements

  • ExpressionEngine 2.7+
  • Link Vault 1.3.0+
  • “zipper_files” Link Vault custom field (created automatically)

Download Zip File Examples

The following examples demonstrate how to use Link Vault and Link Vault Zipper to create and download a single zip file on the fly. When Link Vault Zipper is installed it creates a custom Link Vault field called “zipper_files” that is used to hold the list of files that are to be zipped. In the first example, each file in the list contains the path to the file relative to the document root. The second example contains only the file names so Link Vault Zipper will assume those files can be found in the Link Vault default hidden folder as specified in the configuration variable or the Link Vault module settings. In each example, the file_name/file_path parameter represents the name of the zip file that will be created on the server.

Files to be zipped (relative paths)

{exp:link_vault:download_link file_path='temp/zip/files/image_files.zip'
    text='Download the zipped images'
    cf:zipper_files='my/files/1.jpg|my/files/2.gif|my/files/3.png'}

Files to be zipped (assumed to be in the default hidden folder)

{exp:link_vault:download_link file_name='image_files.zip'
   text='Download the animal images'
    cf:zipper_files='cat.jpg|dog.jpg|bird.png'}

Retrieving files from a Matrix field

The following example shows how to retrieve a list of files that are stored using a Safecracker File field within a Matrix field. Link Vault Zipper automatically removes your website’s base URL from the file paths and ignores empty file paths so there is no need to backspace the trailing pipe in the cf:zipper_files parameter.

{exp:link_vault:download_link file_name='my_archive.zip'
   text='Download the archive'
   cf:zipper_files='{matrix_files}{file_path}|{/matrix_files}' }

Please refer to the Link Vault documentation for more detailed instructions on how to use the link_vault:download_link tag as well as information on the various Link Vault configuration variables.

Download Link Vault Zipper

EE Support Downloads Add-On Version Release Date
2.7.0+ Download 1.5 Dec 17, 2014
2.7.0+ Download 1.6 Oct 21, 2015

This entry was created June 14, 2012, 9:31 am.
This entry was last updated October 22, 2015, 11:30 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!