Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to have a download function in the explorer the user can see in his profile?
Comment | File | Size | Author |
---|---|---|---|
#17 | download-button.png | 49.56 KB | thalles |
Comments
Comment #1
eme CreditAttribution: eme commentedsubscribe. Important feature for me, and it is just a new link...changing the preview link in a downloadable link.
Comment #2
ZenDoodles CreditAttribution: ZenDoodles commentedSubscribing. If no one is working on this already, I may be able to do it next week.
Comment #3
johnvSubscribe. I am surprised it is not already in.
Comment #4
ZenDoodles CreditAttribution: ZenDoodles commentedThis patch should do the trick. You will have to update after applying the patch to add the download perm to current profiles. It assumes current profiles cannot download from any directory so we don't mysteriously give new permissions to users. You'll have to add the appropriate download perm to directories in the profiles you want to be able to download. This includes admin profiles.
I've also provided an 'un-update' which removes download from all profiles in case you want to undo the changes. (You still need to backup your db first!) To use it, uncomment imce_update_7003() in imce.install and run update.php again. Don't forget to revert the files after you're done, or there will be ugly errors.
Also, I'm sure there is a better one, but I included a download icon from here: http://www.iconfinder.com/icondetails/8395/16/arrow_down_download_icon. The license is "Free for commercial use".
Hit me up with questions and comments.
Comment #5
fugazi CreditAttribution: fugazi commentedhave a question, where is the patch. Thanks
Subscribe
Comment #6
johnvI hope to encounter Zen's patch soon :-)
Comment #7
density CreditAttribution: density commentedI also hope to see this soon, this would put the icing on the cake, all tho I have tripped over a work around that will
"Force Files to Download Instead of Showing Up in the Browser via extension type".
Please see this page : - Force Files to Download Instead of Showing Up in the Browser
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedpls attach the patch
I think this feature is a must for the IMCE module. Normal navigators don't know that much how to set the browser for downloading some file types.
Comment #9
johnvI use http://drupal.org/project/filebrowser in D6. Perhaps there is some module ready for copy&pasting the functionality to IMCE?
Comment #10
ZenDoodles CreditAttribution: ZenDoodles commentedHow embarrassing!
I am incredibly sorry, but I cannot find this code anywhere. The site I thought I was using it for doesn't have it. Seems likely since I already wrote it once, I can do it again relatively quickly though. I'm looking at it now.
Comment #11
Anonymous (not verified) CreditAttribution: Anonymous commentedHi, do you have any news about the patch?
Comment #12
karlre1 CreditAttribution: karlre1 commentedsubscribing .
looking forward to using the download feature.
thanx for taking the time to implement it - hopefully soon. ;)
Comment #13
saidi.nizar CreditAttribution: saidi.nizar commentedComment #14
samji CreditAttribution: samji commentedHi,
Is there an update for the download function? I'm using 7.21 and I don't see a button or link.
Thanks.
Comment #15
AaronBaumanbump, follow
Comment #16
thallesThis feature was implemented in #2976669: Show a "download" button in file browser line items
Comment #17
thallesSee:
Comment #18
thallesTo use you need choose a file and click download
Comment #19
thalles