Tags:
create new tag
, view all tags

Question

What is the recommended way for us to modify our installation so that the "search all Public Webs" box is checked by default on the Search page?

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Search

-- VickiBrown - 11 Nov 2004

Answer

In TWiki.WebSearch change:

  <input type="checkbox" class="twikiCheckbox" id="web" name="web" %CALC{$IF($EXACT(%URLPARAM{web}%,),,checked="checked")}% /><label for="web">All public webs</label>

to

  <input type="checkbox" class="twikiCheckbox" id="web" name="web" checked="checked" /><label for="web">All public webs</label>

Note that if the box is unticked it will always be re-ticked whenever a search is performed.

-- SamHasler - 11 Nov 2004

 
Topic revision: r2 - 2004-11-11 - SamHasler
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.