Tags:
create new tag
view all tags

Question

I am trying to make an expand-on-rollover LeftMenu on a per-web basis. It is comprised of an unordered list with some fancy CSS and some JavaScript hacks to get it to work in some browsers. I want the menu to be structured so that topic children are a sub-menu of the parent, and each child then has a sub-menu of its children. So far it works, BUT I have to add every menu entry manually by editing WebLeftMenu topic. I can actually make the lowest level automatic by using

          * %METASEARCH{type="parent" web="%WEB%" topic="SecondLastLevel"}%
However, if I could nest a second METASEARCH within the topic parameter of the first search, I could have two or more levels of the menu auto-creating, as long as I specify the topic parent when creating a new page.
          * %METASEARCH{type="parent" web="%WEB%" topic="$percntMETASEARCH{type=\"parent\" web=\"$percntWEB$percnt\" topic=\"SecondLastLevel\"}$percnt"}%

I know that is complicated but hopefully I used the proper terminology so that people will understand.

I have tried to escape the nested metasearch myself (as you would escape a search) but it does not work.

Is what I want to do at all possible? Might it be at some point?

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: FreeBSD
Web server: Apache 2.x
Perl version: I'll ask my sysadmin
Client OS: Various
Web Browser: Usually Firefox
Categories: Search

-- ChadBoulay - 14 Mar 2006

Answer

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.

I am not aware that meta search can be escaped. Also, a three level nested search will be very slow, and this on every page since you want that in the sidebar.

Possibly better done with a Plugin that builds the structure and caches.

-- PeterThoeny - 20 Apr 2006

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-04-20 - PeterThoeny
 
  • 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.