Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Image Slider free Joomla module.

Topic-icon links to open in a new window

More
7 years 5 months ago #261 by yaksich
yaksich created the topic: links to open in a new window
Hi and many thanks for this great module! I need the image links to open in a new window. Is this possible?
Many thanks in advance for your assistance.
Cheers
Nick

Please Log in to join the conversation.

More
7 years 5 months ago #267 by milos
milos replied the topic: Re:links to open in a new window
Please open default.php and change this line:
<?php if (($showLink!=0)and($imageLinkArray[$imageCounter]!="")) { ?><a href="<?php echo $imageLinkArray[$imageCounter]; ?>"><?php } ?>
to
<?php if (($showLink!=0)and($imageLinkArray[$imageCounter]!="")) { ?><a href="<?php echo $imageLinkArray[$imageCounter]; ?>" target="_blank"><?php } ?>

Please Log in to join the conversation.

More
7 years 5 months ago #269 by yaksich
yaksich replied the topic: Re:links to open in a new window
Hi Milos and many thanks for your quick reply. I have replaced the code as suggested, but strangely enough,the links still open in the same window...This is a bit puzzling.
Cheers

Please Log in to join the conversation.

More
7 years 5 months ago #274 by milos
milos replied the topic: Re:links to open in a new window
I just checked it on my server and it worked fine. Please double check it at your end. Did you insert code properly. The only difference is added
target="_blank"

Please Log in to join the conversation.

More
7 years 5 months ago #278 by yaksich
yaksich replied the topic: Re:links to open in a new window
Sorry Milos - you were right - it works ok. I made a small mistake when copying the line of code.
By the way, the slider is really nice, but adding the settings option for opening links in a new window would be just great.
Thanks heaps for your help! Hvala!
Nick

Please Log in to join the conversation.

Time to create page: 0.139 seconds

Links, Partners and Social Media