We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

files entries in a template

How Do I?

nicola's avatar
nicola
7 posts
5 years ago
nicola's avatar nicola

hallo, is there a way to make the file table found in control panel /cp/files in a template? my need is to print all the uploaded files and give to the user the possibility to download all the files loaded into a ZIP file, as in /cp/files. I need to render it into the frontend website. I tried the addon MX Zip but the generated ZIP file also contains folders and subfolders.

thanks

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
5 years ago
Robin Sowell's avatar Robin Sowell

The File Module makes it easy to list out files in a directory, show thumbnails, link to the files, etc.

You could use the HTTP Header tag to force downloads of individual files.

Having a download of the entire directory in a zip might take something beyond native, though. I’d play with MX Zip and see how close that will get you. And I would avoid doing it if we’re talking really big downloads.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.