Support » Plugin: Mmm Simple File List » Download files

  • A great plugin that solved a tricky problem with our 5000 audio files with historical interest and donated to our museum. Playing the files works perfectly well but to make us even more happy: is it possible to add funcionality to download selected file/files?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Adam Bissonnette

    (@mmanifesto)

    Sorry for the late reply. You can definitely add a “download” button using the custom template functionality. If you shoot me a link to the website I can walk you through the process!

    Hi Adam,

    I really like your plugin. As another user asked, how can I adjust the code so people can download instead of viewing a file. I have a page with PDF’s and I want my users to download the PDF’s.

    Thank you!

    I have found a solution, it works for me. I put the code here for other user who want to accomplish the same. You have to put this in your .htaccess

    <FilesMatch “\.(jpg|pdf)$”>
    ForceType application/octet-stream
    Header set Content-Disposition attachment
    </FilesMatch>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Download files’ is closed to new replies.