Tags:
create new tag
view all tags

Question

Hello, I am brandnew to TWiki, so please excuse my stupid question:

How do I declare external links inside my topic so that they are shown within the frame. For example see this: Google It will lead directly to Google.

But what I like to have is a link which content stays inside the frame, e.g. me

TIA, Mic@

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Browser Issue

-- MichaelFirschke - 01 Nov 2005

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.

Hi Mic@ smile

It seems that for external links (where you enter an URL beginning with http://) TWiki always adds target="_top". It is hardcoded in Render.pm.

If your number of external links is small and known in advance, you can work around with InterwikiPlugin: InterSiteLinkRules has a couple of examples how this works, not just for linking to other wikis. Links created in this way do not (yet) have a target attribute.

Be sure not to enforce the link with double brackets if you want to avoid breaking the frameset. Compare the source of the following two links:

Google:Berlin - target="_top" with [[Google:Berlin]]

Google:Berlin - no target attribute with Google:Berlin

-- HaraldJoerg - 01 Nov 2005

Sorry Harald, but both of Your Google-links are doing the same (wrong) behaviour of showing its content in a fresh window and not inside the existing frames of twiki frown

Thatīs is the behavior I donīt like. Meanwhile I experimented with INCLUDE command, but this seems also a bit tricky when You use proxys for internet access.

Any other ideas will be welcome. Best wishes from Berlin, Mic@

-- MichaelFirschke - 03 Nov 2005

See IFrameExample

-- PeterThoeny - 12 Nov 2005

THX, I was afraid of this being the only answer wink And sorry for writing about "frames" - I have learned now that twiki is working frameless. But from a first glance to this website it appears to me like twiki uses frames (especially the left navigation window part).

-- MichaelFirschke - 13 Nov 2005

If TWiki used framsets the left menu bar would be in a separate frame and scroll & update seperately. No, the menu bar simply doens't have the 'feel' for a frame-based system, and I've built quite a few.

See also

Basicly, always search first. TWiki has been around a long time and many ideas have been explored and discussed.

-- AntonAylward - 13 Nov 2005

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2005-11-13 - PeterThoeny
 
  • 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.