carouselxt e infinity model

Hi!
Did not work.

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

Should be placed before :
<div class="mfp_carouselxt_item">
 
1 year 3 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? 
 
1 year 2 months ago - 1 year 1 month ago #9 by Niels
Last edit: 1 year 1 month ago by TemplatePlazza.
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5195) Offline
Sorry the code should be : 
<a href="<?php echo $item->link; ?>">

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