Question
Where I work, we've set up a twiki for documentation on how to do various things. We first had a main web, and made parent topics for each department, and made the new topics their children, but later changed it so each department had a web and that webs topics were the depts topics, but we still do not like how parent topics do not list their children.
Here are my questions:
- How do i set up a parent topic so that it's children are listed automatically
- how do i set up an automatic topic list that doesn't include Web* topics
- How do i make it so searches automatically search all webs (or even better, all webs EXCEPT trash, main and twiki?
EDIT: I've tried also using the slide 26 fro ma taste of twiki where a category is mentioned at the bottom of every file, and using a search in the parent, problem is:
- Parent links to itself
- Parent links to WebStatistics, etc.
- Eyesore
I've also tried searching for "!ParentName >" (the form it shows at the top) but in this form it does not show up at all.
I'm sure I'll have a few more, too.
Thanks
Environment
--
GrazianoMisuraca - 23 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.
1. On listing childrens: See
HowToListChildrenTopics
2. On topic list that doesn't include Web* topics: Do a
VarSEARCH with an
excludetopic="Web*". You can do a
FormattedSearch to format it any way you like.
3. Search all webs: Add a
web="all,-Trash" to the search form.
Note: Please register with your real name. Or, if you prefer to stay anonymously, use the
TWikiGuest account.
--
PeterThoeny - 24 May 2007
Thank you, on #2.. I figured that one out.. but there's a weird Quirk.
i put that as the webhome of two different webs, and in both cases it pr operly filtered out web*, BUT they both neglected to put another in, in one web it didn't show
RemoteDesktop, and in another it didn't show
AdminRequest.
--
GrazianoMisuraca - 24 May 2007
Where exactly? I tried the only place that made sense to me..
* <form name="quickSearchForm" action="%SCRIPTURLPATH{view}%/%INCLUDINGWEB%/WebSearch">%IF{" '%URLPARAM{"search" encode="entity" scope="topic"}%' = '' " then="<input type=\"text\" class=\"twikiInputField patternFormFieldDefaultColor\" name=\"search\" value=\"%MAKETEXT{"Search"}%\" size=\"14\" onfocus=\"clearDefaultandCSS(this);\" onblur=\"setDefaultText(this);\" />" else="<input type=\"text\" class=\"twikiInputField\" name=\"search\" value=\"%URLPARAM{ "search" encode="entity" scope="topic" web="all,-Trash"}%\" size=\"14\" />"}%</form>
in the %URLPARAM part. But that didn't work.
--
GrazianoMisuraca - 24 May 2007
I installed the
TreePlugin, and everything is great, still need help with the global search though. Thanks.
--
GrazianoMisuraca - 24 May 2007
I will make a new topic.
--
GrazianoMisuraca - 25 May 2007