- Posts: 26
- Thank you received: 0
Links from module to open in new window
-
marknissan@gmail.com
Inactive member - Topic Author
- Member
Less
More
12 years 6 months ago #19626
by marknissan@gmail.com
Links from module to open in new window was created by marknissan@gmail.com
Hi,
how can I get the links entered into the module to open in a new window, i.e. target="_blank" ?
Cheers
Mark
how can I get the links entered into the module to open in a new window, i.e. target="_blank" ?
Cheers
Mark
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #19632
by ivan.milic
Replied by ivan.milic on topic Re: Links from module to open in new window
Open modules\mod_hot_accordion\tmpl\default.php
You will find this:
just add your attribute in <a.. tag
You will find this:
Code:
....
<a <?php if ($firstCycle==0) { ?>id="a1" <?php } ?>class="accordion_block"<?php if ($link[$loop]) { ?> href="<?php echo $link[$loop]; ?>"<?php } ?>>
<img src="<?php echo $mosConfig_live_site; ?>/<?php echo $image[$loop]; ?>" alt="" height="<?php echo $picHeight; ?>" width="<?php echo $picWidth; ?>" />
<span class="accordion_head"><?php echo $heading[$loop]; ?></span>
<span class="accordion_body"><?php echo $text[$loop]; ?></span>
</a>
....
just add your attribute in <a.. tag
The following user(s) said Thank You: marknissan@gmail.com
Please Log in to join the conversation.
-
marknissan@gmail.com
Inactive member - Topic Author
- Member
Less
More
- Posts: 26
- Thank you received: 0
12 years 6 months ago - 12 years 6 months ago #19654
by marknissan@gmail.com
Replied by marknissan@gmail.com on topic Re: Links from module to open in new window
Thanks again
Last edit: 12 years 6 months ago by marknissan@gmail.com.
Please Log in to join the conversation.
Time to create page: 0.136 seconds