DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:pglist

This is an old revision of the document!


PGList Plugin

Compatible with DokuWiki

>2009-02-14, 2008-05-05

plugin List a pages or directories inside the current namespace or selected namespace.

Last updated on
2012-06-09
Provides
Syntax
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to catlist, dir, nspages, pagelist, subpages

Tagged with file, listing

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 directories inside the current namespace or selected namespace, but exclude the current page that have this list or you can exclude the start page. pglist also when list the directories, it checks if this directory has “start” page if no, it is will not listed, if exists it listed by the title of the start page in this directory. Also directories always sorted at the top of the list.

I prefer to use “useheading” = 1 in your config to get a good title.

Note: When use “dirs”, it list directories only that have start.txt page and list the title of this page. If you like to list it even not have start.txt you need to add “any” to your parameters.

Syntax

Use this syntax

{{pglist>selected_namespace files dirs me nostart fsort dsort}}

*Be sure there is NO space before namespace*

Examples

  {{pglist>}}  

List all files inside the current directory, only files and exclude the current page.

  {{pglist>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.

plugin/pglist.1374250988.txt.gz · Last modified: 2013-07-19 18:23 by 188.229.130.246

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki