DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:pglist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
plugin:pglist [2013-07-19 18:23] – Fix space before namespace 188.229.130.246plugin:pglist [2020-08-07 11:20] hillschmidt
Line 6: Line 6:
 email      : zaherdirkey@yahoo.com  email      : zaherdirkey@yahoo.com 
 type       : syntax type       : syntax
-lastupdate : 2012-06-09 +lastupdate : 2020-01-09 
-compatible : >2009-02-14, 2008-05-05+compatible : >2009-02-14, 2008-05-05, 2015-08-10 "Detritus", !Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 19: Line 19:
  
 ===== Installation ===== ===== Installation =====
- +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
-Download the archive and unpack it into ''<dokuwiki>/lib/plugins''+
- +
-Install the plugin using the [[plugin:plugin|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 ===== ===== Usage =====
  
Line 30: Line 26:
 Also directories always sorted at the top of the list. Also directories always sorted at the top of the list.
  
-I prefer to use "useheading= 1 in your config to get a good title.+I prefer to use ''useheading = 1'' ((see [[config:useheading|Configuration Setting: useheading]])) 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. **Note: When use "dirs", it list directories only that have start.txt page and list the title of this page.
Line 41: Line 37:
   {{pglist>selected_namespace files dirs me nostart fsort dsort}}   {{pglist>selected_namespace files dirs me nostart fsort dsort}}
  
-*Be sure there is NO space before namespace*+**Be sure there is NO space before namespace*
 + 
 +If the namespace started with / it will takes as full name space, if it not started with / it will be relative to current namespace that the page exists in it 
 +for example: current page is dev/start 
 +  /dev/components  
 +is same with 
 +  components  
 + 
 +  dev/components  (bad) 
 +it is point to "dev/dev/components"   
  
 =====Examples===== =====Examples=====
Line 56: Line 61:
  
 List all files inside the selected directory/namespace, only files and exclude the current page. List all files inside the selected directory/namespace, only files and exclude the current page.
 +
 +<code>
 +  {{pglist>/my_namespace}}  
 +</code>
 +
 +Same, List all files inside the selected directory/namespace, only files and exclude the current page.
 +But it take the full path to namespace, i meant from the root.
  
 <code> <code>
plugin/pglist.txt · Last modified: 2020-11-15 18:16 by zaher

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