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
--
ChadBoulay - 14 Mar 2006
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.
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