Fullscreen
Loading...
 
[Show/Hide Right Column]

Plugin List Pages

This Wiki Plugin list pages according to many criteria, specified as parameters in the plugin call.

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
pageName_desc or...pageName_asc
hits_desc or...hits_asc
data_desc or...data_asc
description_desc or...description_asc
lastModif_desc or...lastModif_asc
comment_desc or...comment_asc
version_desc or...version_asc
user_desc or...user_asc
ip_desc or...ip_asc
flag_desc or...flag_asc
points_desc or...points_asc
votes_desc or...votes_asc
cache_desc or...cache_asc
wiki_cache_desc or...wiki_cache_asc
cache_timestamp_desc or...cache_timestamp_asc
pageRank_desc or...pageRank_asc
creator_desc or...creator_asc
page_size_desc or...page_size_asc
lang_desc or...lang_asc
lockedby_desc or...lockedby_asc
is_html_desc or...is_html_asc
created_desc or...created_asc
wysiwyg_desc or...wysiwyg_asc
wiki_authors_style_desc or...wiki_authors_style_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:

Page Hits Last mod Last author Vers. Links Backl. Lang. Categories
Module
Introduction to modules
92540
Sun 10 Apr, 2011 18:42 CEST
lindon 73 18 80 en



  • 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


doc.tiki.org
[toggle]





Site Language

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki