create new tag
, view all tags


I would like to be able to list out Children and Grandchildren of a topic.

I would like to have the ability to list it out on any page.

I hacked together the following... it does not work like I would like... it finds more then the grandchildren, it finds linked to items as well.

%SEARCH{ "META\:TOPICPARENT.*\"WebHome\"" type="regex" nonoise="on" format="   * $topic has deliverables of:$n      * $percntSEARCH{ \"$topic\" format=\"$n      * $dollartopic\" nosearch=\"on\" nototal=\"on\" separator=\"<BR> \" }$nop%" nosearch="on" nototal="on" }%


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

-- NicholasIozzo - 11 May 2007


ALERT! 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.

This does not work because your nested search does a search for the topic name your found, e.g. it returns all topic references, not just the children. Change the nested search to \"META\\:TOPICPARENT.*\\"$topic\\"\".

Also, better to write %BR% instead of <BR>, the latter is not XHTML compliant.

-- PeterThoeny - 11 May 2007

Greetings, I continue to have problems with this. I am using the TreePlugin to produce a collapsable list of parent,child,grandchild relationships. Below is what I have. Any help is most appreciated.

%TREEBROWSER{"file" title="Meeting Minutes"}%
%SEARCH{ "META\:TOPICPARENT.*\"%TOPIC%\"" type="regex" nonoise="on" format="   * $topic$n      * $percntSEARCH{ \"META\\:TOPICPARENT.*\\"$topic\\"\" format=\"$dollartopic\"}$nop%" header="Meeting Minutes"}%

-- JeremyHartmann - 30 Jul 2007

-- JeremyHartmann - 31 Jul 2007

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-07-31 - JeremyHartmann
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.