This is an old revision of the document!
Table of Contents
PGList Plugin
Compatible with DokuWiki
>2009-02-14, 2008-05-05
Installation
Download the archive and unpack it into <dokuwiki>/lib/plugins
.
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Usage
List a pages or dirs inside the current namespace or selected namespace, but execlude the current page that have this list or you can execlude the start page. pglist also when list the direcotryes indide check if this directory has “start” page if no, it is not listed, if exiest it listed by title of start page in this direnctory. also dirs always sorted on the top of list.
Syntax
Use this syntax
{{pglist> ns:selected_namespace files dirs me nostart fsort dsort}}
Examples:
{{pglist>}}
List all files inside the current directory, only files and exclude the current page.
{{pglist> ns:my_namespace}}
List all files inside the selected directory/namespace, only files and exclude the current page.
{{pglist> dirs}}
List all directories inside the current directory, only directories and exclude the current page.
{{pglist> files dirs}}
List all files and *directories* inside the current directory.
{{pglist> files dirs me}}
List all files and *directories* inside the current directory, with the current page that have this list, it is do not exclude me.
{{pglist> files dirs nostart}}
List all files and *directories* inside the current directory, exclude the current page and the start page also.