Yes its a matter of permission settings.
Disable this permissions for user roles you don't want to access download link: 'download own audio files' , 'download all audio files'
But I'd like to keep the downloaded audio file and even preferably replace it with a button that says "download". But for now removing the word "download" would be helpful.
Easy way is trying to remove it with css, maybe text-intend:-9999px.
Otherwise you can overwrite theme_audiofield_formatter_audiofield_embedded() in your own theme, just copy that function from AudioField module "audiofield_formatter.inc" file and replace the lines <b>Download:</b> with whatever you need there.
Comments
Comment #1
tamerzg commentedYes its a matter of permission settings.
Disable this permissions for user roles you don't want to access download link: 'download own audio files' , 'download all audio files'
Comment #2
eggthing commentedThanks!
But I'd like to keep the downloaded audio file and even preferably replace it with a button that says "download". But for now removing the word "download" would be helpful.
Comment #3
tamerzg commentedEasy way is trying to remove it with css, maybe text-intend:-9999px.
Otherwise you can overwrite theme_audiofield_formatter_audiofield_embedded() in your own theme, just copy that function from AudioField module "audiofield_formatter.inc" file and replace the lines
<b>Download:</b>with whatever you need there.Comment #4
eggthing commentedThanks! I will try that.
Any idea how to replace the downloadable link with a button?
Or better yet, to have a button in $links in the same way the audio module has a "Download audio file"?
Comment #5
tamerzg commentedSince this is a link we can't replace it with form button. But you can theme the div element surrounding the link to look like button. Maybe this tutorial can help you: http://woork.blogspot.com/2008/06/beautiful-css-buttons-with-icon-set.html
Comment #6
eggthing commentedThanks!