Taking off lightbox on page list

Permalink Browser Info Environment
Hi - on the page list 3 col template I would like to take off the fancybox slideshow for the picture thumbnail page attribute and just make it a link to the parent page. Could you please tell me how to adjust the code to do this? Many thanks

Type: Discussion
Status: New
chassa2556
View Replies:
c5mix replied on at Permalink Reply
c5mix
If you want to remove any link on the image all together, remove the whole <a> tag on line 25 of theme_slate/blocks/page_list/templates/three_column/view.php. Dont forget to remove the closing </a> tag too.

If you want to make the image link to the page, change the a tag from this:
<a href="<?php echo ($img->getVersion()->getRelativePath()); ?>" rel="fancybox<?php echo $bID?>" title="<?php echo $title?>">

To this:
<a <?php  if ($target != '') { ?> target="<?php echo $target?>" <?php  } ?> href="<?php echo $nh->getLinkToCollection($cobj)?>">
chassa2556 replied on at Permalink Reply
chassa2556
Brilliant - thanks that worked...
c5mix replied on at Permalink Reply
c5mix
You're welcome!
concreteart replied on at Permalink Reply
concreteart
Just wanted to say that this worked perfectly for me! Thank you!!!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.