Question
Hi TWiki Users,
On the Main page of our twiki install i would like to present users with a simple search form that searches all the Webs in the Wiki ?. So far i have this ?
<form action='http://twiki.cel/bin/view/Main/WebSearch'>
<input type="hidden" name="scope" value="topic"/> <input type="hidden" name="web" value="all"/><input type="text" name="search" size="22" /> <input type="submit" class="twikiSubmit" value="%MAKETEXT{"Search"}%" />
This almost works but each search appends "&topic=Jump" onto the search causing the search to fail ?
This parameter is clearly not listed in my form ?
Any Idea's
Environment
--
IanClancy - 30 Apr 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 should work:
<form name="allSearchForm" action="%SCRIPTURL{view}%/%WEB%/WebSearch">
<input type="hidden" name="web" value="all">
<input type="text" class="twikiInputField" name="search" value="" size="30" />
<input type="submit" class="twikiSubmit" value="%MAKETEXT{"Search"}%" />
</form>
--
ArthurClemens - 30 Apr 2007
Excellent Arthur. Thank you very much
--
IanClancy - 01 May 2007