Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- JoshuaMuheim - 13 Dec 2006

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 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

 
Change status to:
Topic revision: r7 - 2007-02-17 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.