Where are the external links processed?

Sven
Joined: 23 Mar 2007

Where are the external links processed?

Posted:16 Apr 2007 (08:32 UTC)
We'd like to have external links opening in a new window.
As xhtml doesn't allow a 'target='_blank' we'd use a js snippet instead (onclick="window.open(this.href,'_blank');return false;" onkeydown="window.open(this.href,'_blank');return false;"). But in which files is the
'http://example.com | text' processed?

And, additional question:
Can I add another icon so we can establish links that are opening in a new window and such that are opened normally?
Sven
Joined: 23 Mar 2007

Re: Where are the external links processed?

Posted:18 Apr 2007 (08:43 UTC)
No one?
lugie
Profile Picture
Joined: 12 Jan 2006

Re: Where are the external links processed?

Posted:19 Apr 2007 (16:54 UTC)
/bw/liberty/plugins/format.tikiwiki.php

I think.
Sven
Joined: 23 Mar 2007

Re: Where are the external links processed?

Posted:21 Apr 2007 (19:30 UTC)
thx, tried but no success.
There must be some sort of replacement... but I can't seem to find it. :(
xing
Joined: 07 Mar 2004

Re: Where are the external links processed?

Posted:22 Apr 2007 (16:51 UTC)
Sven: it really is in /bw/liberty/plugins/format.tikiwiki.php.
look for class=external. modify that to: class=external target=_apples and you're set.

x
Sven
Joined: 23 Mar 2007

Re: Where are the external links processed?

Posted:23 Apr 2007 (12:04 UTC)
Thx, that worked. ;)
I'll monitor if it's creating problems but it seems like it's ok. ;)
Sven
Joined: 23 Mar 2007

Re: Where are the external links processed?

Posted:25 Apr 2007 (12:22 UTC)
  Page 1 of 1  1