Buy album link in random albums module

0
Hello,
I would like to have a buy button in the random albums module. Is there a fast method to have it?
It must call a variable, I would like to replace the year with the link in the row
if($params->get('show_year')) $year = '' . $album->year . '' ; else $year = "";
and then I will call a button.
Do you think is possible?
$album->buy_link is not working
Thank you.

Accepted Answer

Wednesday, August 28 2013, 03:34 PM - #Permalink
0
Lol, sorry for disturbing you but I am a web developer and designer not a good php programmer.... It Works!!!
I forgot to delete the ending } of the if I deleted...
Thank you!!
The reply is currently minimized Show
Responses (3)
  • Accepted Answer

    Monday, August 19 2013, 09:37 AM - #Permalink
    0
    which module are you using? is it our latest "albums" module?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 22 2013, 02:29 PM - #Permalink
    0
    Yes Mr. Germi, I am using the album module
    mod_muscol_albums_2.4.0_2.5
    Regards,
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 22 2013, 06:05 PM - #Permalink
    0
    this is weird, $album->buy_link is not working??
    it should be
    can you send me the file you've modified?
    The reply is currently minimized Show
Your Reply