-
AuthorPosts
-
janjak Friend
janjak
- Join date:
- July 2012
- Posts:
- 95
- Downloads:
- 53
- Uploads:
- 37
- Thanks:
- 22
- Thanked:
- 4 times in 1 posts
August 12, 2015 at 9:09 am #660379Hi !
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 ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
August 13, 2015 at 4:16 am #660693Hi @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 ; ?>1 user says Thank You to Adam M for this useful post
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
August 13, 2015 at 4:16 am #745317Hi @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 ; ?>1 user says Thank You to Adam M for this useful post
-
AuthorPosts
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