MX Zip

Developer

Max Lazar

3rd Party (Free)

MIT License

EE Version Support

  • ExpressionEngine 1.x
  • 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)

Control Panel Theme, Plugin

Tags

The MX Zip plugin for ExpressionEngine gives you the capability to add files into into zip archive directly from an ExpressionEngine template.

Tags

{exp:zip direct_output="no" folder="images" filename="min.zip" max_size="1024" root_level="-3"}
    {zip:files}
        [themes/cp_global_images/watermark_test.jpg]
        [themes/cp_global_images/ee_logo.jpg,expressionengine]
        [themes/profile_themes/]
        [themes/cp_themes/classic/classic.css]
    {/zip:files}
        File Limit! 
    {/exp:zip}

     

  • Parameters
         
    • direct_output —  the plugin can sent direct to user or can save package file on the web server
    •    
    • folder — folder whare you want to save your zip files in direct_output=false mode
    •    
    • filename —  zip fillename. By default the filename is unix_timestamp.zip
    •    
    • store_full_path (optional) —  use the real path in zip folder structure or not (default - yes)
    •    
    • 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 folder4/Folder3/Folder2/Folder1/file.doc and:
      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)  
    •  
    • 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.
    • 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


    MX Zip Links

    This entry was created September 30, 2009, 10:42 am.
    This entry was last updated February 7, 2016, 1:15 pm.

    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.

1 Review:

Simon 09.23.14

Rating - {addon_rating_average}

MX Zip works as described and Max provides effective support.