ExpressionEngine addons Lab


MX Zip add you capability to add files/folders into into zip archive direct from ExpressionEngine


  • EE1 - PHP 4+, ExpressionEngine 1.6.5+
  • EE2 - ExpressionEngine 2+


MX Zip contains a single plugin file. To install the new field type please follow the simple instructions below:
  • Download the MX Zip archive and extract the files.
  • EE1: Copy to /system/plugins/
  • EE2: Copy zip folder to /system/expressionengine/third_party/


{exp:zip direct_output="no" folder="images" filename="" max_size="1024" root_level="-3"}



  • direct_output
    the plugin can sent direct to user or can save package file on the web serve
  • folder
    folder whare you want to save your zip files in direct_output=false mode
  • filename
    zip fillename. By default the filename is
  • store_full_path optional
    use the real path in zip folder structure or not (default - yes)
  • max_size optional
  • root_level optional
    if you use full_path tag max_root_level, it gives you an opportunity to cut up some folder levels.
    Folder levels can be a possitive and negative, in last case the levels counted from the most deep level, so if the real path is
    • root_level = "-3"(take only 3 folders from the end)
      in zip package you will have Folder3/Folder2/Folder1/file.doc
    • root_level = "2" (except 2 folders from beginning)
      in zip package you will have Folder2/Folder1/file.doc (except 2 folders fron beginig)
  • overwrite yes (optional)
    overwrite file or not

Conditional variables

  • {if file_limit}
    You may use this conditional for displaying a message in the case when size of your files preparing for package more then max_size

Variable pairs

  • {zip:files}[file_or_folder_path,folder_structure4zip]{/zip:files}
    A comma separated list of files/folders for packing
    file_or_folder_path - file or folder which you want to zip with full or relative server path.
    folder_structure4zip (optional) - individual folder path for file in the zip archive.

Change Log


  • 2.0.2 - 06/15/2010:
      • New parameter - overwrite
  • 2.0.1 - 03/03/2010:
      • Initial release


  • 0.7.4 - 06/15/2010:
      • New parameter - overwrite
  • 0.7.3 - 04/17/2010:
      • Fixed bug with Mac built-in Archive Utility
  • 0.7.1 - 12/26/2009:
      • Added new tags
      • Fixed bug with direct output settings
  • 0.04 - 08/22/2009:
      • Initial release

MX Zip

Download MX Zip  0.7.4

Version: 0.7.4
Released: 06/15/2010

Download MX Zip  2.0.2

Version: 2.0.2
Released: 06/15/2010

Thank Me By ‘Buying Me A Cup Of Coffee'

Like my add-ons?
Consider buying me coffee.

Like it? Tweet it!

Digg itAdd to Stumbleupon Share whith Facebook

Follow me on twitter