Plugin List Pages
This Wiki Plugin list pages according to many criteria, specified as parameters in the plugin call.Table of contents
Usage and Parameters
To use this plugin in a wiki page, use the syntax:{LISTPAGES(initial=txt, showNameOnly=y, categId=id, structHead=y, showPageAlias=y)} {LISTPAGES}| Parameters | description | ||
|---|---|---|---|
| initial | test | only displays the pages with name beginning with the text | optional |
| showNameOnly | y or n | if y shows only the page names | optional - default n |
| categId | An ID number correpsonding to one of your tiki categories. You can get the category IDs from your categories admin page - tiki-admin_categories.php |
if set, shows only the pages of this category if the parameter is a list of categIds separaetd with :, pages in one of the categories will be returned(tiki>=6.0) if the parameter is a list of categId separated with +, pages having each of the categories will be returned(tiki>=6.0) |
optional - default no filter |
| structHead | y or n | if y shows only the structure head | optional - default n |
| showPageAlias | y or n | ||
| offset | number | result offset (default 0) | |
| max | number | number of results (default:-1 for all) | |
| find | string | page name must contains the string (default:=no filter) | |
| exactmatch | y or n | filter exactly on find or not (default: n) | |
| lang | language abbreviation | page language(default==no filter) | |
| langOrphan | language abbreviation | Only pages not available in the provided language will be listed. Pages will no language will not be listed. | |
| translations | Will list pages in one of the language of translations that are in a set of translations. The parameter is user or pipe separated list of two letter language codes for additional languages to display. If the language parameter is not defined, the first element of this list will be used as the primary filter. | ||
| translationOrphan | List pages with no language or with a missing translation in one of the languages. Pipe separated list of two letter language codes for additional languages to display (tiki>7.0) | ||
| only_orphan_pages | y or n | only orphan pages if y (default:n) | |
| for_list_pages | y or n | list only pagename for speed purpose(default: n) | |
| sort | column name followed by _, followed by asc or desc Warning! misspelling the sort column name will cause the plugin to fail - even during "preview" of your page. You must then delete that version of the page! Sorting can be done on fields from the tiki_pages table... page_id pageName hits data description lastModif comment version user ip flag points votes cache wiki_cache cache_timestamp pageRank creator page_size lang lockedby is_html created wysiwyg wiki_authors_style |
examples...page_id_desc or...page_id_asc |
|
| length | numeric | shows only the length first characters of the page content - default: show all - show the parsed data if the preference search_parsed_snippet is on | tw>=5.0 |
| start | string | shows only after the string - default: show all - show the parsed data if the preference search_parsed_snippet is on | tw>=5.0 |
| end | string | shows unitl the string - default: show all - show the parsed data if the preference search_parsed_snippet is on | tw>=5.0 |
| showCheckbox | y or n | shows the checkboxes | tiki>=7.0 |
Example
This code,Plugin List Pages surrounded by a box
{LISTPAGES(find="module", exact_match="y")} {LISTPAGES}Would produce on this site:
Related Pages
- Wiki Plugin
- Mods Type Wikiplugins
- PluginTitlesearch - to search on the page name and show page hits and the last user who edited the page
- PluginShowpages - also searches on pages names and lists the page name and description
