Question
I have a topic about Subversion. Now I have many child topics like SubversionClient, SubversionAdministration etc. that have Subversion as parent topic.
Now I want to show a TOC of the child topics at the end of the Subversion topic. How is this possible?
Thanks a lot for help.
Environment
--
JoshuaMuheim - 13 Dec 2006
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.
I think you should be able to do this using a
meta search on the topic parent, although if they all start with Subversion... then this will work:
%SEARCH{"^Subversion.*" type="regex" scope="topic" nonoise="on" nosummary="on" format=" * $topic"}%
More info:
TWiki.VarSEARCH,
TWiki.VarMETASEARCH
--
AndrewRJones - 13 Dec 2006
Thank you very much. I'd like to have such an index of the topic's children on every page of the TWiki, so is there a way to integrate this into the template somehow?
--
JoshuaMuheim - 15 Dec 2006
This will be available with TWiki 4.1. See
HierarchicalNavigation
. It relies on the ability to pass the
format parameter to
METASEARCH that is not in TWiki 4.0.x.
--
ArthurClemens - 15 Dec 2006