Tags:
create new tag
, view all tags

Question

Hi,

is there a short and easy way to have external links opened in a new browser window without using HTML-tags?

Maybe a %VARIABLE that can be used?

Thanks

Environment

TWiki version: TWikiRelease04x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: Windows 2000
Web Browser: Internet Explorer 6...
Categories: Browser Issue

-- LukasMusiol - 08 Aug 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I modifed the code to do that. </TWiki/lib/TWiki/Render.pm> has the global handler of external links (sub _externalLink) . Change target="_top" to target="_blank".

-- SeanCMorgan - 08 Aug 2008

There is not any syntax for this in standard TWiki. You might check out LinkOptionsPlugin.

-- LynnwoodBrown - 08 Aug 2008

 
Change status to:
Topic revision: r3 - 2008-08-08 - LynnwoodBrown
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.