[Show/Hide Right Column]

Find pages by searching within page names
Print

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.

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 - Advanced use cases for PluginTracker
PluginAddToCart - Display a 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
Advanced use cases for PluginTracker
Display a button for adding items to the shopping cart
Show user's browser and server information

commentComment
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.


Contributors to this page: lindon2331 points  .
Page last modified on Sunday 04 July, 2010 01:00:41 UTC by lindon2331 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):