Tags:
create new tag
view all tags

Question

Hi,

I want to change the main search box in the top right of my TWiki site to search "all public webs" by default, not just the web the user is in at the time.

How can this be done?

Thanks in advance.

James

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows Server 2003
Web server: Apache 2.2.9 (Win32)
Perl version: 5.008008 (MSWin32)
Client OS: Windows XP SP3
Web Browser: Internet Explorer 7.0
Categories: Search

-- JamesRJMorris - 30 Nov 2008

Answer

ALERT! 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.

VarSEARCH has a web="all" parameter that does that.

If you are using the default PatternSkin you can modify the TWiki.WebTopBar page in your TWiki installation. Modify the hidden field named web to this:
<input type="hidden" name="web" value="all" />

-- PeterThoeny - 01 Dec 2008

This works a treat. Thanks a lot Peter.

James

-- JamesRJMorris - 04 Dec 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-12-04 - JamesRJMorris
 
  • 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.