Question:
I would like to have a Topic with links to other Topics. The links should not only call the other topic but also change the skin. Just adding ?skin=print after the
WikiWord doesn't help.
- TWiki version: 01 Dec 2001
- Perl version: v5.6.1 built for i586-linux
- Web server & version:
- Server OS: i586-linux
- Web browser & version:
- Client OS: NT 4.0
--
JoergBieri - 26 Mar 2003
Answer:
If the topic linked to is in the current web you can use
<a href="LinkToDedicatedSkins?skin=print">printable version</a> otherwise you will have to use a fully qualifed address (
http://twiki.org/cgi-bin/view/Support/LinkToDedicatedSkins?skin=print
)
--
MattWilkie - 26 Mar 2003
The answer was expected but is not satisfactory. There should be an easier solution (maybe in a future release). The solution should be in a way that one can add the link like % TOPIC %.skin=print so it can be used without knowing the Topic Name. If the topic gets renamed, the linked should be renamed as well (I think with your solution this is not the case?).
--
JoergBieri - 01 Apr 2003
Write:
[[%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=print][printable view]]
to get:
printable view
--
PeterThoeny - 02 Apr 2003