Let the user compress and download all files that are uploaded in a node when they visit '/download_node/node/{nid}' without worrying about file field names.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2988346-6.patch | 3.33 KB | manish-31 |
| #4 | 2988346-4.patch | 3.79 KB | manish-31 |
| #2 | 2988346-2.patch | 2.07 KB | manish-31 |
Comments
Comment #2
manish-31 commentedThis patch adds the required feature:
Create a content type with any number of file fields with whatever machine name you want. Now visit '/download_node/node/{nid}' you will be able to download all the files present in the node.
Comment #3
manish-31 commentedComment #4
manish-31 commentedPatch #4 adds the required feature:
Create a content type with any number of file fields with whatever machine name you want. Now visit '/download_all_files/node/{nid}' you will be able to download all the files present in the node with ID {nid}.
The feature to download only selected files(by providing their field names) will be added in this issue
Comment #5
dinesh18 commentedI tried to apply the patch but patch is getting failed.
Comment #6
manish-31 commentedThanks @Dinesh18 for applying the patch.
Please apply patch #6 and review it.
Read the comment #4 to use it properly.
Comment #7
gaurav.kapoor commentedStill doesn't work. Please check coding standards as well.
Comment #8
ravi.shankar commentedComment #9
akashkumar07 commentedComment #11
gaurav.kapoor commented