This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: Linking to "Home" in Website TOC
- From: Steinar Bang <sb at dod dot no>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 23 Feb 2004 20:57:20 +0100
- Subject: [docbook-apps] Re: Linking to "Home" in Website TOC
- Cancel-lock: sha1:rARI37Y6Shb1g6HwcwXNhU+ytAc=
- Organization: Probably a good idea
- References: <87brnpsimy.fsf@doohan.bang.priv.no>
>>>>> Steinar Bang <sb@dod.no>:
> Platform: Intel PII, debian sarge (testing/unstable),
> docbook-website 2.4.0-6
> I'm trying to create a link for "Home" in the TOC.
[snip!]
The next thing I tried, was to create a dummy Website page, called
go_home.xml, with the id "go_home", and create the following toc
entry:
<toc page="main.xml" filename="index.html">
<tocentry page="go_home.xml" filename="index.html">
<title>Home</title>
</tocentry>
...
This worked after a fashion, but the page shown was the dummy page.
So what I finally did, was to create a dummy page to put in the
<toc>. This also solved my other problem of the main page being, and
had the nice side effect of not being a link when the home page is
shown.
So now it works the way I wanted it to work. :-)
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.