carouselxt e infinity model

Hi!
Did not work.

Can you help me please?
2 years 11 months ago #7 by Bn Design
Attachments:
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5400) Offline
Ah sorry, the 
<a href="<?php echo $item->link; ?>

Should be placed before :
<div class="mfp_carouselxt_item">
 
2 years 11 months ago #8 by TemplatePlazza
The topic has been marked as resolved.

TemplatePlazza wrote:
Hi I'm assuming you enable the setting Thumbnail Mode to Thumbnail as Background, because because if you set it to Thumbnail Image then the image is linking to article.
So, basically you can do that via template override 


open the file infinity_ajax.php then add the code 
<a href="<?php echo $item->link; ?>
before the code 
<div class="mfp-col-xs-12 mfp-col-sm-6 mfp-col-md-<?php echo 12/$infinity_num_column;?> mfp_infinity_item">
and add the colsing 
</a>
before 
<?php
endforeach; ?>


 

Hi,

thank you for this, but it doesn't work for me! Can you check my source code from the override? 
 
2 years 10 months ago - 2 years 9 months ago #9 by Niels
Last edit: 2 years 9 months ago by TemplatePlazza.
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5400) Offline
Sorry the code should be : 
<a href="<?php echo $item->link; ?>">

 
2 years 10 months ago #10 by TemplatePlazza
The topic has been marked as resolved.
Great, that works! Thank you for the quick support! 
2 years 10 months ago #11 by Niels
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5400) Offline
Glad it works ;)
2 years 10 months ago #12 by TemplatePlazza
The topic has been marked as resolved.
Powered by Kunena Forum