• Discussions
    Discussions
    Lists all discussions that are created on the site.
  • Tags
    Tags
    View tags that are created on the site and filter discussions by tags.
  • Categories
    Categories
    View categories that are created for the site and filter discussions by categories.
  • Users
    Members
    View profile of other members on the site.
Marcelo on Tuesday, July 23 2013, 03:54 PM

Can't see buy link on album page

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.
       
  • Replied by Germinal Camps on Tuesday, July 23 2013, 03:57 PM · Hide · #1
    in which page?
    Chief Software Engineer at JoomlaThat!
  •  
  • Replied by Marcelo on Tuesday, July 23 2013, 03:59 PM · Hide · #2
    On Album page.

    See this example: http://musicademinas.com.br/index.php?option=com_muscol&view=album&id=4
  •  
  • Replied by Marcelo on Wednesday, July 24 2013, 11:03 AM · Hide · #3
    Hi Germi,

    Any ideas about what might be happening?
  •  
  • Replied by Germinal Camps on Wednesday, July 24 2013, 11:14 AM · Hide · #4
    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 ?
    Chief Software Engineer at JoomlaThat!
  •  
  • Replied by Marcelo on Wednesday, July 24 2013, 11:19 AM · Hide · #5
    Sent by This email address is being protected from spambots. You need JavaScript enabled to view it.
  •  
  • Replied by Marcelo on Wednesday, July 24 2013, 11:55 AM · Hide · #6
    Germi. Now I can see the cart icon. Did you change any file? Which one?
  •  
  • Replied by Germinal Camps on Wednesday, July 24 2013, 12:09 PM · Hide · #7
    I didn't change anything yet...!
    are you sure you're in the same page??
    Chief Software Engineer at JoomlaThat!
  •  
  • Replied by Marcelo on Wednesday, July 24 2013, 12:13 PM · Hide · #8
    Germi, I think I found the problem: the buy button only show if there at least one song associated to the album.
  •  
  • Replied by Germinal Camps on Wednesday, July 24 2013, 03:50 PM · Hide · #9
    you're right!

    I've modified it so it displays even if there are no songs in it. check your site now.
    Chief Software Engineer at JoomlaThat!
  •  
  • Replied by Marcelo on Wednesday, July 24 2013, 03:58 PM · Hide · #10
    Thanks Germi!

    Just for my control, wich file you modify?
  •  
  •  
    Replied by Germinal Camps on Wednesday, July 24 2013, 04:00 PM · Hide · #11
    the album layout file, /components/com_muscol/views/album/tmpl/default.php
    Chief Software Engineer at JoomlaThat!
Your Response
Please login first in order for you to submit comments