test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • janjak Friend
    #660379

    Hi !

    Is there any way to have the link on the image in Joomlart ACM galery-style 2 module open in a blank window ?

    Thanks !

    Adam M Moderator
    #660693

    Hi @janjak,

    Please open file templatesuberacmgallerytmplstyle-2.php and look for this code :

    <?php if($hoverAnimation=='swiper'): ?>
    <a class="item-mask" href="<?php echo $itemLink; ?>"></a>
    <?php endif ; ?>
    <?php if($hoverAnimation!='swiper'): ?>
    <?php if($itemLink):?><a href="<?php echo $itemLink; ?>" title="<?php echo $itemTitle; ?>"><?php endif ; ?>
    <img src="<?php echo $helper->get ('gallery.img', $i) ?>" >
    <?php if($itemLink):?></a><?php endif ; ?>
    <?php endif ; ?>

    add attribute target=”_blank” to a tag as below :

    <?php if($hoverAnimation=='swiper'): ?>
    <a class="item-mask" target="_blank" href="<?php echo $itemLink; ?>"></a>
    <?php endif ; ?>
    <?php if($hoverAnimation!='swiper'): ?>
    <?php if($itemLink):?><a target="_blank" href="<?php echo $itemLink; ?>" title="<?php echo $itemTitle; ?>"><?php endif ; ?>
    <img src="<?php echo $helper->get ('gallery.img', $i) ?>" >
    <?php if($itemLink):?></a><?php endif ; ?>
    <?php endif ; ?>

    Adam M Moderator
    #745317

    Hi @janjak,

    Please open file templatesuberacmgallerytmplstyle-2.php and look for this code :

    <?php if($hoverAnimation=='swiper'): ?>
    <a class="item-mask" href="<?php echo $itemLink; ?>"></a>
    <?php endif ; ?>
    <?php if($hoverAnimation!='swiper'): ?>
    <?php if($itemLink):?><a href="<?php echo $itemLink; ?>" title="<?php echo $itemTitle; ?>"><?php endif ; ?>
    <img src="<?php echo $helper->get ('gallery.img', $i) ?>" >
    <?php if($itemLink):?></a><?php endif ; ?>
    <?php endif ; ?>

    add attribute target=”_blank” to a tag as below :

    <?php if($hoverAnimation=='swiper'): ?>
    <a class="item-mask" target="_blank" href="<?php echo $itemLink; ?>"></a>
    <?php endif ; ?>
    <?php if($hoverAnimation!='swiper'): ?>
    <?php if($itemLink):?><a target="_blank" href="<?php echo $itemLink; ?>" title="<?php echo $itemTitle; ?>"><?php endif ; ?>
    <img src="<?php echo $helper->get ('gallery.img', $i) ?>" >
    <?php if($itemLink):?></a><?php endif ; ?>
    <?php endif ; ?>

    janjak Friend
    #662785

    Fine : it woks !

    Thank you !

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Adam M 9 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum