Tags:
create new tag
, view all tags

Question

Is it possible to jump to a topic and have that operation open a new window (or a new tab)?

With page-load times that can be relatively slow using TWikiOnMemoryStick, it is advantageous to use the browser for caching pages instead of navigating away from a page and then navigating back (hence the need for a new window). It is also advantageous to not have to perform two page loads to get to the page I need to look at. In other words, if I jump from an open page, I can't flip back to it any more, and if I open a new tab manually I first have to load a TWiki page and then jump to the page I want, which requires to page loads instead of one.

I am wondering if it's possible to add a checkbox next to the jump box (or anything functionally equivalent, including browser mod or something of the sort, holding down shift while pressing enter--whatever), that would let me navigate to a new topic via the jump box, in a new page/tab.

I will be glad to note this as a feature request but didn't want to do so before checking to see if there is an already a way to do so.

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2k/XP
Web server: TWikiOnMemoryStick
Perl version:  
Client OS: Windows 2k/XP
Web Browser: Firefox 2
Categories:  

-- JoshuaJohnston - 22 Jan 2007

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.

Workaround 1: Right click on link and "open in new tab" or "window"

Workaround 2: If you want to change all internal links to open up a new window you could change the TWiki core code. This is untested: In line 550 of sub _renderExistingWikiWord of twiki/lib/TWiki/Render.pm, add this just before my $link = CGI::a( { @attrs }, $text ); :

push( @attrs, target => '_' . time() );

-- PeterThoeny - 24 Jan 2007

Well, those workarounds are for when you have a link, not when you want to jump with no link visible (I am adding clarification to my post above for navigation via the jump box). Workaround 1 you can also Ctrl+Click but again, have to have a link available.

-- JoshuaJohnston - 24 Jan 2007

This is currently not possible and would require some programming. It is a special case that should not be part of the distribution.

-- PeterThoeny - 26 Jan 2007

 
Change status to:
Topic revision: r4 - 2007-01-26 - PeterThoeny
 
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.