Link Page Attribute

Permalink
Hello,

I'm looking for an idea of to do a page attribute for displaying links
something like
<?php echo $c->getCollectionLink() ?>


is that possible?

primewaydesign
 
JohntheFish replied on at Permalink Reply
JohntheFish
primewaydesign replied on at Permalink Reply
primewaydesign
Hi,

actually I was looking something like this.

After playing with some codes I could get I wanted.

<?php
  if ($c->getCollectionAttributeValue('link')) {
?>
<a href="<?php echo $c->getCollectionAttributeValue('link') ?>">Download</a>
<?php } ?>


Next I am looking for a popup solution after clicking on the download link. Any idea?