This question about Configuration: Answered

How to search all public webs from quickSearch?

How do I modify quickSearch to search all public webs?

Modifying WebTopBar from 'name="web"' to 'name="all"' didn't work.

Thanks.


huh?

<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
<tr><td valign="middle"><span id="foswikiLogo" class="foswikiImage"><a href="%WEBLOGOURL%"><img src="%WEBLOGOIMG%" border="0" alt="%WEBLOGOALT%" style="border:none;" /></a></span></td>
<td align="right" valign="top" class="patternMetaMenu">
<noautolink>
   * <form name="quickSearchForm" action="%SCRIPTURLPATH{view}%/%INCLUDINGWEB%/WebSearch"><input type="text" class="foswikiInputField" id="quickSearchBox" name="search" value="" size="18" /><input type="hidden" name="scope" value="all" /><input type="hidden" name="web" value="Home,About,System,Extensions,Support,Community,Development,Download,Tasks,Main" /><noscript>&nbsp;<input type="submit" size="5" class="foswikiButton" name="submit" value="%MAKETEXT{"Search"}%" />&nbsp;</noscript>
   </form>
</noautolink></td></tr></table>

the important part is the value of the web input - which in your case you should set to

<input type="hidden" name="web" value="all />

ie, do not change the name of the parameter, change the value

-- SvenDowideit - 12 Mar 2009


Whoops. You're right, I was changing the wrong thing. Your tip did the trick.

Thanks.

QuestionForm edit

Subject Configuration
Extension
Version
Status Answered
Topic revision: r3 - 12 Mar 2009, HenryKwan - This page was cached on 15 Aug 2019 - 23:12.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy