Not sure why, but I cannot not seem to remove the download link to the mp3 file.

Is there an easy way to disable that with audiofield?

Thanks,
Rene

Comments

tamerzg’s picture

Status: Active » Fixed

Its a permission thing. Go to permissions page and disable download all audio files and download own audio files for roles you want.

rhache’s picture

I should have thought of that! Thanks

rene

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jenlampton’s picture

Version: 6.x-1.0 » 7.x-1.x-dev
Category: support » bug
Status: Closed (fixed) » Active

Even with all the permissions disabled, I (as user 1) still see the download link. Having to use permissions to hide that Download link is certainly a bug.

The player with download link should really be a separate formatter - so that people can choose between having a download link on that field, or not. If they choose to have a download link, then permissions can come in to play.

Marking another issue a dupe of this one since this predates it.
#1522366: Remove "Download:" text

jenlampton’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta7
Status: Active » Needs review
StatusFileSize
new3.46 KB

This patch is against the beta7 tag until #1766158: Clean up Git gets resolved.

Please note that I had to clean up the code (as per #1766166: Clean up code to Drupal coding standards) before I could start working on patches for this module, so the patch in that issue will need to be applied before this one.

But, here is a patch that adds a second formatter that does not have the download link! :)

jenlampton’s picture

StatusFileSize
new3.46 KB

removed trailing whitespace here too.

michellezeedru’s picture

The patch worked great for me. Thank you!

tamerzg’s picture

Status: Needs review » Fixed

Thanks for the patch! Applied it to D7 and also backported to D6 version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.