Tags:
search1Add my vote for this tag create new tag
, view all tags

QuickSearchPlugin

Provides a small subset of the functionality of with an emphasis on speed.

Syntax Rules

Adds the following tags:

  • %QUICKSEARCH% - displays either the names of topics matching the search or the total number of such topics.

Attributes:

  • web - specify web or webs to be searched (same syntax as )

  • nototal - disable the listing of totals at the end of the list

  • totalonly - disable the listing of topic names, only return the number of matches

  • search - required string to search

  • regex - treat search string as a regular expression

  • casesensitive - perform case sensitive search

Formatting is based on a template (quicksearch.tmpl) where the only fields updated are webname (Plugins) and topic name (QuickSearchPlugin). If the totalonly attribute is set (e.g. totalonly="on") then just the number of matched topics is returned, this allows you to put search totals in tables, etc.

Plugin Installation Instructions

  • Download the ZIP file from the Plugin web (see below). Contents:

File: Description:
data/Plugins/QuickSearchPlugin.txt Plugin topic
lib/TWiki/Plugins/QuickSearchPlugin.pm Plugin Perl module
twiki/templates/quicksearch.tmpl Template for generating topic lists mode

  • Unzip QuickSearchPlugin.zip in your twiki installation directory.

  • If you see the count of topics in the plugin web here:

%QUICKSEARCH{search="*"}%

then installation was successful

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Add quick and dirty search capability to topics. Implements small subset of regular %SEARCH% facility.

Plugin Info

One Line Description: Fast, stripped-down search
Plugin Author: DaveAlsup
Plugin Version: 0.1
Change History: 27 Feb 2002 Internal (0.1) release
12 Mar 2002 Initial Release
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0 (only tested on 5.6.1 so far)
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/QuickSearchPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/QuickSearchPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- DaveAlsup - 12 Mar 2002

Topic attachments
I Attachment Action Size Date Who Comment
zipzip QuickSearchPlugin.zip manage 5.3 K 07 Nov 2004 - 04:45 WillNorris release compatable with AutomatedPluginsDownload
Topic revision: r7 - 24 May 2006 - 23:25:29 - KennethLavrsen
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback