Can't see buy link on album page

Marcelo
Marcelo
Offline
0
I set YES on Show BUY button on albums and fill the input on the form.

But the link doesn't appear.

So I change this:

<?php if($this->params->get('allowalbumbuy') && $this->album->buy_link != ""){ ?>
<a href="/<?php echo $this->album->buy_link; ?>" title="<?php echo JText::_('BUY_THIS_ALBUM'); ?>" target="_blank"><?php echo JHTML::image('components/com_muscol/assets/images/buy.png','Buy'); ?></a>
<?php } ?>


For this:

<a href="/<?php echo $this->album->buy_link; ?>" title="<?php echo JText::_('BUY_THIS_ALBUM'); ?>" target="_blank"><?php echo JHTML::image('components/com_muscol/assets/images/buy.png','Buy'); ?></a>


And nothing happens.
Responses (11)
  • Accepted Answer

    Tuesday, July 23 2013, 03:57 PM - #Permalink
    0
    in which page?
    The reply is currently minimized Show
  • Accepted Answer

    Marcelo
    Marcelo
    Offline
    Tuesday, July 23 2013, 03:59 PM - #Permalink
    0
    On Album page.

    See this example: http://musicademinas.com.br/index.php?option=com_muscol&view=album&id=4
    The reply is currently minimized Show
  • Accepted Answer

    Marcelo
    Marcelo
    Offline
    Wednesday, July 24 2013, 11:03 AM - #Permalink
    0
    Hi Germi,

    Any ideas about what might be happening?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 24 2013, 11:14 AM - #Permalink
    0
    hello!

    I will have to look at the code, I really can't know what's happening with the page alone..
    can you send me FTP access at support@ joomlathat.com ?
    The reply is currently minimized Show
  • Accepted Answer

    Marcelo
    Marcelo
    Offline
    Wednesday, July 24 2013, 11:19 AM - #Permalink
    0
    Sent by marcelovillelagusmao@gmail.com
    The reply is currently minimized Show
  • Accepted Answer

    Marcelo
    Marcelo
    Offline
    Wednesday, July 24 2013, 11:55 AM - #Permalink
    0
    Germi. Now I can see the cart icon. Did you change any file? Which one?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 24 2013, 12:09 PM - #Permalink
    0
    I didn't change anything yet...!
    are you sure you're in the same page??
    The reply is currently minimized Show
  • Accepted Answer

    Marcelo
    Marcelo
    Offline
    Wednesday, July 24 2013, 12:13 PM - #Permalink
    0
    Germi, I think I found the problem: the buy button only show if there at least one song associated to the album.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 24 2013, 03:50 PM - #Permalink
    0
    you're right!

    I've modified it so it displays even if there are no songs in it. check your site now.
    The reply is currently minimized Show
  • Accepted Answer

    Marcelo
    Marcelo
    Offline
    Wednesday, July 24 2013, 03:58 PM - #Permalink
    0
    Thanks Germi!

    Just for my control, wich file you modify?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 24 2013, 04:00 PM - #Permalink
    0
    the album layout file, /components/com_muscol/views/album/tmpl/default.php
    The reply is currently minimized Show
Your Reply