DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:catlist

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
plugin:catlist [2022-06-26 00:28] – new version 176.165.35.222plugin:catlist [2024-03-07 19:31] (current) – Tested OK with Jack + Kaos dregad
Line 6: Line 6:
 email      : xcodexif@xif.fr  email      : xcodexif@xif.fr 
 type       : Syntax type       : Syntax
-lastupdate : 2022-06-26 +lastupdate : 2023-12-16 
-compatible : "Frusterick Manners", Detritus, Elenor Of Tsort, Greebo, Hogfather+compatible : Detritus, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum, Kaos+
 depends    :  depends    : 
 conflicts  conflicts 
Line 24: Line 24:
 ===== Screenshots ===== ===== Screenshots =====
  
-Example page [[http://wiki.xif.fr|here]]. On the right, another example sidebar using Bootstrap.+Example page [[http://wiki.xif.fr|here]].
  
-{{http://dev.xif.fr:7979/catlist/screenshot_both.png?nolink}}+{{http://dev.xif.fr:7979/catlist/screenshot_test_cols.png?nolink}}
  
-Example using columns: 
-{{http://dev.xif.fr:7979/catlist/screenshot_columns.png?nolink}} 
  
 ===== Syntax ===== ===== Syntax =====
Line 63: Line 61:
 ^  Exclude options (can be used multiple time and combined)                       ^^ ^  Exclude options (can be used multiple time and combined)                       ^^
 |  ''-exclude:{//page1 ns1(:) ns2:page2 …//}''  |  Exclude a list of pages/namespaces based on **full IDs relative** to the listed namespace. For namespaces, the optional trailing '':'' indicates that the content is excluded, but the namespace itself is shown (same behavior as ''exclunsall'' below).  | |  ''-exclude:{//page1 ns1(:) ns2:page2 …//}''  |  Exclude a list of pages/namespaces based on **full IDs relative** to the listed namespace. For namespaces, the optional trailing '':'' indicates that the content is excluded, but the namespace itself is shown (same behavior as ''exclunsall'' below).  |
-|  ''-exclupage:((!)%%"%%//regex//%%"%%)''        Exclude pages that match with //regex// if provided; otherwise exclude all pages.  |+|  ''-exclupage((!):%%"%%//regex//%%"%%)''        Exclude pages that match with //regex// if provided; otherwise exclude all pages.  |
 |  ''-excluns((!):%%"%%//regex//%%"%%)''          Exclude namespaces that match with //regex// if provided; otherwise exclude all namespaces  | |  ''-excluns((!):%%"%%//regex//%%"%%)''          Exclude namespaces that match with //regex// if provided; otherwise exclude all namespaces  |
 |  ''-exclunsall((!):%%"%%//regex//%%"%%)''      |  Exclude all content of subnamespaces that match with //regex// if provided; otherwise don't show content of subnamespaces  | |  ''-exclunsall((!):%%"%%//regex//%%"%%)''      |  Exclude all content of subnamespaces that match with //regex// if provided; otherwise don't show content of subnamespaces  |
Line 103: Line 101:
 |  ''useheading''  |  Default use of page title vs page ID for item display. **Enabled** by default.  | |  ''useheading''  |  Default use of page title vs page ID for item display. **Enabled** by default.  |
 |  ''default_sort''      |  Default sort order. ''none'' (filesystem order, by **default**), ''ascending'', ''descending''  | |  ''default_sort''      |  Default sort order. ''none'' (filesystem order, by **default**), ''ascending'', ''descending''  |
 +|  ''sort_collator_locale''  |  Locale used to sort page names. When not empty, [[https://www.php.net/manual/en/class.collator.php|PHP Collator class]] is used; should be a valid locale short code, for example ''fr_FR''. When empty, plain alphanumeric sorting is used (default behavior).  |
 |  ''nocache''            Disable the cache on pages where catlist is used  | |  ''nocache''            Disable the cache on pages where catlist is used  |
 |  ''hide_index''        |  Don't show index pages, namely pages which are used as main page (title and link) for a namespace in catlist. **Enabled** by default.  | |  ''hide_index''        |  Don't show index pages, namely pages which are used as main page (title and link) for a namespace in catlist. **Enabled** by default.  |
Line 146: Line 145:
 Source code is available on [[https://github.com/xif-fr/dokuwiki-plugin-catlist/|GitHub]]. Source code is available on [[https://github.com/xif-fr/dokuwiki-plugin-catlist/|GitHub]].
  
 +While this plugin is somewhat maintained, the author does not have much time to dedicate to it and does not use docuwiki presently. I would be happy to transfer the ownership to an actual user.
 ==== Change Log ==== ==== Change Log ====
  
Line 238: Line 238:
     * added ''pagename_sanitize'' option     * added ''pagename_sanitize'' option
     * added sorting by date     * added sorting by date
 +  * **2022-08-07**
 +    * added Collator sorting
 +    * bug fixing
 +  * **2023-12-16**
 +    * fix bug with the add page button in side bar
  
 ==== Known Issues and Wish List ==== ==== Known Issues and Wish List ====
Line 246: Line 251:
  
   * English   * English
-  * French 
   * Chinese (Simplified)   * Chinese (Simplified)
-  * Russian +  * French
-  * Japanese+
   * German   * German
-  * Spanish 
   * Italian   * Italian
 +  * Japanese
 +  * Russian
 +  * Spanish
 +
  
-Help is welcome !+[[https://translate.dokuwiki.org/plugin/catlist|Help is welcome!]]
  
 ===== Discussion ===== ===== Discussion =====
  
 **Please send me an e-mail at [[xcodexif@xif.fr]]** **Please send me an e-mail at [[xcodexif@xif.fr]]**
plugin/catlist.1656196109.txt.gz · Last modified: 2022-06-26 00:28 by 176.165.35.222

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