open link in a new window

A mod witch will add a new links page to your froum.
fully ACP insterface, from where you may add/delete and update link categorys/sub categorys and links.

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

open link in a new window

Postby swbiker on Wed 27. Jul, 2005 00:06

Hi,

i already installed the links hack and eyerything seems to work fine.

but i want the hack to open links in a new window. is it possible to change the code ? can anybody tell me how ? i have no idea of php coding :(
swbiker
Poster
Poster
 
Posts: 2
Joined: Mon 25. Jul, 2005 09:44
Location: germany

Postby Beeveer on Wed 27. Jul, 2005 12:41

Change this in links_body.tpl:

Code: Select all
<!-- BEGIN link -->
<tr>
<td class="{row.cat.sub.link.ROW_CLASS}" align="center" width="100%">
   <span class="gensmall"><a href="{row.cat.sub.link.LINK_URL}">{row.cat.sub.link.LINK_NAME}</a></span>
</td>
</tr>
<!-- END link -->


becomes

Code: Select all
<!-- BEGIN link -->
<tr>
<td class="{row.cat.sub.link.ROW_CLASS}" align="center" width="100%">
   <span class="gensmall"><a href="{row.cat.sub.link.LINK_URL}" target="_blank">{row.cat.sub.link.LINK_NAME}</a></span>
</td>
</tr>
<!-- END link -->
Nee, ik geef geen antwoorden in het Nederlands, die horen thuis op www.phpbb.nl ;)
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby swbiker on Wed 27. Jul, 2005 22:01

Thanks a lot, works great
swbiker
Poster
Poster
 
Posts: 2
Joined: Mon 25. Jul, 2005 09:44
Location: germany


Return to Links [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron