Plugin List Pages
Use this wiki plugin, introduced in Tiki2, to list pages according to various criteria.
Parameters
List pages based on various criteriaIntroduced in Tiki 2.
Go to the source code
Preferences required: wikiplugin_listpages, feature_listPages
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
find |
Only pages with names similar to the text entered for this parameter will be listed | 2.0 | ||
translations |
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. | 3.0 | ||
translationOrphan |
User- or pipe-separated list of two-letter language codes for additional languages to display. List pages with no language or with a missing translation in one of the language | 7.0 | ||
excludetag |
Only pages with specific tag excluded (separate tags using ; ) |
10.3 | ||
includetag |
Only pages with specific tag (separate tags using ; ) |
10.3 | ||
initial |
Initial page to show | 2.0 | ||
lang |
alpha | Two-letter language code to filter pages listed. | 3.0 | |
offset_arg |
Argument, id of the plugin (if more than one on the page), for pagination | 15.3 | ||
langOrphan |
alpha | Two-letter language code to filter pages listed. Only pages not available in the provided language will be listed. | 3.0 | |
pagination |
(blank) y n |
Turn on pagination | 15.3 | |
start |
When only a portion of the page should be included, specify the marker from which inclusion should start. | 5.0 | ||
end |
When only a portion of the page should be included, specify the marker at which inclusion should end. | 5.0 | ||
length |
int | Number of characters to display | 5.0 | |
max |
int | Limit number of items displayed in the list. Default is to display all. | -1 | 2.0 |
offset |
digits | Result number at which the listing should start. | 0 | 2.0 |
sort |
text | Sort ascending or descending on any field in the tiki_pages table. Syntax is
field name followed by _asc or _desc. Two examples: lastModif_desc pageName_asc |
pageName_asc | 2.0 |
showCheckbox |
(blank) y n |
Option to show checkboxes | y | 7.0 |
exact_match |
(blank) y n |
Page name and text entered for the filter parameter must match exactly to be listed | 2.0 | |
for_list_pages |
(blank) y n |
y | 2.0 | |
only_orphan_pages |
(blank) y n |
Only list orphan pages | 2.0 | |
showNameAndDescriptionOnly |
(blank) y n |
Show only the page names and descriptions | 24.0 | |
showNameOnly |
(blank) y n |
Show only the page names | 2.0 | |
showPageAlias |
(blank) y n |
Show page alias in the list | 2.0 | |
structHead |
(blank) y n |
Filter by structure head | 2.0 | |
categId |
Filter categories by Id numbers. Use different separators to filter as follows:: - Page is in any of the specified categories. Example: 1:2:3 + - Page must be in all of the specified categories. Example: 1+2+3 - - Page is in the first specified category and not in any of the others. Example: 1-2-3 |
2.0 | ||
exclude_pages |
pagename separator: | |
Wiki page names to be excluded from list | 19.0 | |
showNumberOfPages |
(blank) y n |
Show the number of pages matching criteria | n | 10.3 |
Example
This code,
Copy to clipboard
{listpages find="module" exact_match="y"}
Would produce on this site:
Page | Hits | Last modification | Last author | Version | Links | Backl. | Lang. | Categories | |
---|---|---|---|---|---|---|---|---|---|
Module
Introduction to modules
|
111484 | Bernard Sfez / Tiki Specialist | 80 | 19 | 86 | en |
Related Pages
- 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