Question
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" }%
Environment
--
NicholasIozzo - 11 May 2007
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.
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