Search wiki pages by page name
Plugin Show Pages
This Wiki Plugin displays a list of links to wiki pages with pagenames that match a search term supplied as a parameter. The name and/or decription of the pages are listed.Table of contents
Usage and Parameters
To use this plugin in a wiki page, use the syntax:Syntax for the SHOWPAGES plugin
{SHOWPAGES(find=> , max=> , display=> name|desc) /}| Parameter | Accepted values | Default | Effect | Required? | Since |
|---|---|---|---|---|---|
| find | any text string | none | This is the search term that is matched against all wiki page names on the site | y | |
| max | positive integer | none (all matching pages listed) | Limits the number of pages shown in the list to this amount | n | |
| display | name or desc |
Both the name and description of the matching pages are shown in the list if this parameter is left blank | Set to name to show only the page name as the link text in the list. Set to desc to show only the page descriptions, but the page name will be shown for pages where there is no description. |
n |
Examples
Both Name and Description
This code,Search plugin with max of 10
{SHOWPAGES(find=>plugin, max=>10,) /}Would produce on this site:
All Plugins
Google page map plugin
Mods Type Wikiplugins
Module and Plugin Includes - Contains language common to module and plugin pages that can be called through an include as well as icons and images
Plugin Alias
Plugin Help
Plugin Security
Plugin Tracker Advanced
PluginAddToCart - Button for adding items to the shopping cart
PluginAgentinfo - Show user's browser and server information
Only Description
This code,Search plugin with max of 10
{SHOWPAGES(find=>plugin, max=>10, display=>desc) /}Would produce on this site:
All Plugins
Google page map plugin
Mods Type Wikiplugins
Contains language common to module and plugin pages that can be called through an include as well as icons and images
Plugin Alias
Plugin Help
Plugin Security
Plugin Tracker Advanced
Button for adding items to the shopping cart
Show user's browser and server information
''The same 10 pages are listed here as in the first example, but here the list is a mix of page descriptions and page names because the parameter is set to list page descriptions but page names are still used for those pages without descriptions.
Related pages
- Wiki Plugins
- Mods Type Wikiplugins
- PluginListPages - for more refined searches
- PluginTitleSearch - a similar plugin, but this one produces a table showing page hits and the user who last edited the page
Contributors to this page: lindon
.
Page last modified on Saturday 06 March, 2010 06:09:31 UTC by lindon
.
Sidebar
Featured links
Last changes
Sidebar
To register
To have an account at this site, please register at Tikiwiki.org
, and then use that user name and password to log in here.
