Gossamer Forum
Home : Products : Links 2.0 : Customization :

Link Target, where to change it???

Quote Reply
Link Target, where to change it???
my links, no matter if they are in search results or in the categories all have the TARGET=New setting.
This is annoing if i want to open 2 different links in 2 different windows, so i need to change it to TARGET=_blank.
But, WHERE????
Certainly not within the templates, but in what script, i can't find it...........
Quote Reply
Re: [gossy] Link Target, where to change it??? In reply to
If you are using templates, then that is where the change needs to be made. Look in the link.html template for this line:

<ul><li><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>

Yours must have the target attribute added in there (The above is the original code.). If the problem is not there, check your CSS file (if you use one), as it is possible to define the target there, too.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Link Target, where to change it??? In reply to
Thanks,
yes i realized it all by myself already, i just had a template mix up, was looking in the category template instead of the "link.html" template where it has to be changed only once for all links, category or search results
(this just added in detail for anyone who might search around for this same question).