Search To Table Plugin
Performs a topic search and puts results into a table:
- Only searches in the current web
- Specify what data from selected topics is displayed including field data from forms (display="topic,storyNumber,storyPriority")
-
- Display will default to topic, revUser, revDate, firstLine
- Predefined fields are:
- revUser - User name of last one to change topic
- revDate - Date last changes made
- revNumber - RCS revision number for topic
- topic - topic name
- firstLine - First line from topic to return. Skips comments and headings
- Specify column headings for table (titles="Topic,Number,Priority')
- Can narrow topics displayed based on values of form fields (fieldSearch="storyPriority:5,storyStatus:open")
-
- AND between fields (storyPriority = 5 AND storyStatus = open)
- Use with the TablePlugin to be able to sort columns in the table
- Display a next value line for a numeric field (nextValue=fieldName)
Global Preference
- One line description, is shown in the TextFormattingRules topic:
- Set SHORTDESCRIPTION = Performs a topic search and puts results into a table. (FormattedSearch has the functionality of this Plugin)
- Set DEBUG to on to get debug messages in
data/debug.txt. Default: off
Examples
%TABLE{sort="on" headerbg="#99CCCC" databg="#C8CB8F,#DBDDB5"}%
%SearchToTable{search="<\!\-\- XP Story" display="topic,storyNumber,storyPriority,firstLine" titles="Topic,Number,Priority,Subject"}%
Plugin Installation Instructions
- Unzip the file in your twiki directory, will load lib/TWiki/Plugins/SearchToTablePlugin.pm and data/TWiki/SearchToTablePlugin.txt
Plugin Info
Related Topics: TWikiPreferences,
TWikiPlugins,
DefaultPlugin
--
KenKachnowich - 21 Dec 2001