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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-08-08 - LynnwoodBrown
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.