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
--
MichaelFirschke - 01 Nov 2005
Answer
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@
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
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

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