Shape 5

Joomla Club Extensions => MP3 Gallery - Club => : Prodpcs November 17, 2015, 04:50:20 PM



: Don't want download or buy button enabled
: Prodpcs November 17, 2015, 04:50:20 PM
On the emusica template mp3 audio player, I have left the url for buy and download blank because I just want the user to be able to play the song. However, a red circle shows and it opens a new tab that goes to the home page. I don't mind the red circle but I want the link to be disabled. Is there a way to do this?


: Re: Don't want download or buy button enabled
: jonahh November 18, 2015, 02:20:13 PM
To remove the buy button you can just remove it by adding the below to your custom.css file. 

:
.tracks .buy {display:none;}

The download button should hide if nothing is added to its text field in the admin area.  Just be sure its blank.


: Re: Don't want download or buy button enabled
: Prodpcs November 19, 2015, 10:11:14 PM
I do have one track that is for sale, and this code makes the buy button disappear entirely. The download shows but it is not really clear that you can buy the track. Can we make the buy button show only if the URL is not blank? Thanks.

To remove the buy button you can just remove it by adding the below to your custom.css file. 

:
.tracks .buy {display:none;}

The download button should hide if nothing is added to its text field in the admin area.  Just be sure its blank.


: Re: Don't want download or buy button enabled
: jonahh November 20, 2015, 02:25:48 PM
Unfortunately there is no quick way to do this, it would require custom coding in order to achieve this.