Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

Download zip file via AdminCP? #6

Open
khalwat opened this issue Nov 9, 2015 · 3 comments
Open

Download zip file via AdminCP? #6

khalwat opened this issue Nov 9, 2015 · 3 comments

Comments

@khalwat
Copy link

khalwat commented Nov 9, 2015

Is there a way to have this functionality added to the backend, so that there's a "Download All" button next to each Assets field in the AdminCP?

@khalwat
Copy link
Author

khalwat commented Nov 10, 2015

safariscreensnapz755

@khalwat
Copy link
Author

khalwat commented Nov 18, 2015

I made the changes you requested, except for using Craft.postActionRequest

If I use Craft.postActionRequest it returns the zip file in the response, which is probably not what we want. Can we compromise and use Craft.getActionUrl and link to that instead?

@RobErskine
Copy link

It would be neat if this could be done within the assets section of the Control Panel as well, maybe in the dropdown list when two or more assets are selected.

screen shot 2016-05-24 at 3 01 57 pm

I could probably figure this out using the url ( /actions/zipAssets/download?filename=your-zipfile&files[]=123&files[]=234) example provided in the readme, just don't have the time at the moment. Wasn't sure if there was something out of the box that did this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants