Hi,
Is there a way to get it to open all the exchange website links in a new tab for all links on the main page?
I would need this as I'm using an iframe to show LinkMan on my site... but sins it does not open the exchange website links in a new tab it loads them in my iframe which is not good.
Any help for this would be apricated.
[solved] Open exchange website links in a new tab
[solved] Open exchange website links in a new tab
Last edited by raykai on Mon Sep 18, 2017 4:45 am, edited 1 time in total.
Re: Open exchange website links in a new tab
I see that the Template linkman_1 has all links to open in a new tab but not the new default Template is there a way i can modify the default one for it to open links in a new tab?
Re: Open exchange website links in a new tab
ok nvm i fixed it in the / templates / default / links.tpl.php by adding target="_blank on line 19 and 81 this seems to work
line 19:
line 81:
line 19:
Code: Select all
<p><a href="' . ($settings['redirect'] == 1 ? 'go.php?id=' . $id : $link['L']) . '" target="_blank"' . ($settings['use_nofollow'] == 1 ? ' rel="nofollow"' : '') . '>' . $link['T'] . '</a><br>' . $link['S'] . '</p>
Code: Select all
<p><a href="' . ($settings['redirect'] ? 'go.php?id=' . $id : $link['L']) . '" target="_blank"' . ($settings['use_nofollow'] ? ' rel="nofollow"' : '') . '>' . $link['T'] . '</a><br>' . $link['S'] . '</p>