Tags:
navigation1Add my vote for this tag create new tag
view all tags

Parent - child navigation for side bar

I am trying to create a navigation enhancement:

-
WebSideNav

The raw search text:

%SEARCH{ "^%BASETOPIC%$" scope="topic" web="%BASEWEB%" regex="on" nosearch="on" nototal="on" zeroresults="off" format="- $parent(15, ...) %BR%" }%
*%BASETOPIC%* %BR%
%METASEARCH{type="parent" topic="%BASETOPIC%" format="- $topic(15, ...) %BR%"}%

Somehow I cannot get the parent right: when there is none, nothing should be displayed.

Furter, although the format says to put a BR after each found topic, some topics are listed next to each other.

-- ArthurClemens - 05 Feb 2006

Maybe you describe in more detail what you are trying to do here. What about a mockup.

works fine on a dakar engine.

-- MichaelDaum - 06 Feb 2006

I am trying to re-implement the navigation part in http://visiblearea.com/cgi-bin/twiki/view/Flash/Design_.

What I need is:

ParentTopic
CurrentTopic
ChildTopic 1
ChildTopic 2
ChildTopic 3
ChildTopic 4
ChildTopic 5
ChildTopic 6
ChildTopic 7
ChildTopic 8

Parent and children should be found in the current web (BASEWEB).

-- ArthurClemens - 06 Feb 2006

try the TreePlugin

-- SteveStark - 18 Nov 2006

Since revision 11927 meta search understands format parameters. The search string now is:

%SEARCH{ "^%BASETOPIC%$" scope="topic" web="%BASEWEB%" type="regex" nonoise="on" format="   * $parent" }%
   * *%BASETOPIC%*
%METASEARCH{type="parent" topic="%BASETOPIC%" format="   * $topic"}%

-- ArthurClemens - 18 Nov 2006

This is now implemented in HierarchicalNavigation.

-- ArthurClemens - 21 Apr 2007

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-04-21 - ArthurClemens
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.