r3 - 02 Dec 2005 - 01:48:28 - PeterThoenyYou are here: TWiki >  Support Web > MasterToc
Tags:
, create new tag

Question

There doesn't appear to be a way to create a 'master TOC' for multiple pages. It appears that the only way to do this is something like:

%TOC{"Page1" depth="3"}%
%TOC{"Page2" depth="3"}%
%TOC{"Page3" depth="3"}%
etc..

However, this leaves undesirable horizontal rules and spaces between the page-level TOC blocks in the master TOC.

Is there a way to create a clean-looking master TOC for multiple pages?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Missing functionality
-- TWikiGuest - 13 Oct 2005

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I thought it should be possible to include the other topics and hide them, but hiding does not work if includes contain hidden comments.

Links of the TOC are also broken, i.e. this is not an answer to the question, yust found another way that doesnot work :-(.

example:

%TOC%
%TOC{WebHome}%
<!--
%INCLUDE{"TWiki.TWikiFAQ" pattern="(^---\+*[^\n]*)"}%
-->

Test:

-- MatthiasThullner - 16 Oct 2005

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo