On Wed, 16 Mar 2005 14:29:50 +0000, Alison Russell
<alisonrussellireland(a)hotmail.com> wrote:
I want a table of contents to be displayed. My main
page has more than seven
pieces of headline text, but my table of contents is not being created.
The Main Page is a special exception in the code to this rule. I'm not
sure whether or not the __FORCETOC__ and __TOC__ keywords override
this exception or not; if not, you'll have to hack the PHP code :(
A past suggestion was to force it by using
__FORCETOC__, or in a position
other than just before the first heading by using __TOC__. Unfortunately I
don't understand what this means because I am just an eager novice?!?
What piece of code should I be editing with these lines?
Just plonk them in the middle of the article you want the TOC to
appear in. __FORCETOC__ will have the same effect wherever it is, so a
good choice might be right at the beginning of the text, so that other
editors will know it's there. __TOC__ should be inserted wherever in
the text you want the TOC to be.
--
Rowan Collins BSc
[IMSoP]