Tags:
search2Add 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
Unknown file formatmd5 QuickSearchPlugin.md5 manage 0.2 K 2008-12-12 - 11:55 SopanShewale checksum file , Uploaded as a part of Release Process
Compressed Zip archivetgz QuickSearchPlugin.tgz manage 6.4 K 2008-12-12 - 11:54 SopanShewale See QuickSearchPlugin for details. Untar and run the installer script, Uploaded as a part of Release Process
Compressed Zip archivezip QuickSearchPlugin.zip manage 8.0 K 2008-12-12 - 11:54 SopanShewale See QuickSearchPlugin for details. Unzip and run the installer script , Uploaded as a part of Release Process
Unknown file formatEXT QuickSearchPlugin_installer manage 3.4 K 2008-12-12 - 11:55 SopanShewale Installer Script, Uploaded as a part of Release Process
Topic revision: r9 - 2008-12-12 - SopanShewale
 
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.