Tags:
create new tag
view all tags

Question

How can i make the search in the top bar to search in all public web by default

tannks.

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins:  
Server OS: SunOs9
Web server: Apache
Perl version: 5.x
Client OS: Win 2000
Web Browser: Mozilla and Explorer
Categories: Search

-- SergeGervais - 11 Dec 2006

Answer

Change TWiki.WebTopBar. Just after

<form name="quickSearchForm" action="%SCRIPTURLPATH{view}%/%INCLUDINGWEB%/WebSearch">
add
<input type="hidden" name="web" value="on" />

-- ArthurClemens - 11 Dec 2006

See also SearchAllWebsTopBar, HowToChangeSearchBoxScope.

-- PeterThoeny - 01 Jun 2007

Doesn't work for me. When I insert <input type="hidden" name="web" value="all" /> and I save it won't take the change to the TWiki Web and all the other Webs. All the Webs still seem to be using the %BASEWEB% variable for the WebTopBar. Is there another template which has to be changed?

Thanx, André

-- AndreLiebich - 2010-07-18

Please ask a new support question and state your environment, such as what skin you use.

-- PeterThoeny - 2010-07-18

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2010-07-18 - 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.