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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2004-11-11 - SamHasler
 
  • 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.