0
Hi germi,
I want to change the downloading style of my website. whenever someone clicks on a download link it load's this kind of link {http://www.farsihiphop.com/music.raw?view=file&id=1093} for example.
how can I change it to a direct link???
so then anyone can download it with a download manager and vith resume compability in the download manager.
I want to change the downloading style of my website. whenever someone clicks on a download link it load's this kind of link {http://www.farsihiphop.com/music.raw?view=file&id=1093} for example.
how can I change it to a direct link???
so then anyone can download it with a download manager and vith resume compability in the download manager.
Responses (3)
-
Accepted Answer
0If you want a direct download link like www.yoursite.com/songs/song1.mp3, you'll need to make a hard code change (back up the file before making changes, though).
You'll need to go to com_muscol/helpers/helper.php
Approximately line 363, find
$file_link = JRoute::_( 'index.php?option=com_muscol&view=file&format=raw&id='. $song->id );
and change it to
$file_link = JRoute::_( $song->filename );
This should result in a direct file link in every instance where a download link appears. I just tested this - If this is what you're looking for, it will work. -
Accepted Answer
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »