DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dir:discussion

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:dir:discussion [2011-04-10 19:19] – [Skip flag, broken links] 24.79.128.170plugin:dir:discussion [2023-08-10 21:35] (current) – [option collapse_sub] 45.156.242.133
Line 3: Line 3:
 [[plugin:dir|« Back]] [[plugin:dir|« Back]]
 ===== Questions ===== ===== Questions =====
 +
 +==== NDT and namespacename don't work ====
 +As the title says: v.2013-12-08 doesn't respond to the //nodefaulttitle// / //ndt// & //namespacename// flags.
 +The simplest use case always keeps me out of luck.
 +<code>
 +~~DIR:.?ndt~~
 +
 +~~DIR?nodefaulttitle~~
 +
 +~~DIR?list&ndt&namespacename~~
 +</code>
  
 ==== I get all sorts of debug output in red ==== ==== I get all sorts of debug output in red ====
Line 44: Line 55:
 > but i want show "Hello world". its possible? > but i want show "Hello world". its possible?
  
 +I would also love to see this implemented! 
 ==== Dir ignores tags ==== ==== Dir ignores tags ====
  
Line 55: Line 66:
 ===== Fixes/Bugs ===== ===== Fixes/Bugs =====
  
 +==== only current namespace will be listed, no matter what I do ====
 +Hi, I am trying to use DIR here for creating a sidebar index, but no matter what I try, it always lists the namespace relative to the page from which I call DIR. I tried all possible solutions like: DIR:: DIR:.. DIR:namespace etc.
 +Additionally it ignores the ego flag and just never displays the ego page in the listing.
  
 +Any ideas? PS: i am using URL rewriting, might this be the problem? I tried disabling it in the dokuwiki config with no success, didn´t try removing the rewriting-rules because I don´t have direct access to the webspace.
 ==== Level of startpages ==== ==== Level of startpages ====
  
Line 61: Line 76:
 > 1: Shouldn't the start-pages be listed in the same level as all other pages in the namespace? In the current implementation, the start-page of a subnamespace is on the same level as all pages of the current namespace, whats kinda confusing. > 1: Shouldn't the start-pages be listed in the same level as all other pages in the namespace? In the current implementation, the start-page of a subnamespace is on the same level as all pages of the current namespace, whats kinda confusing.
 > 2: Could the namespace-names be shown in the tree-view or as a column? I find it confusing to have a tree full of starts, if I have many start-pages. > 2: Could the namespace-names be shown in the tree-view or as a column? I find it confusing to have a tree full of starts, if I have many start-pages.
 +> ANS: Use ?namespacename to do this, seems like this should be default behavior to me.
 > 3: I think there is an issue about security and ACL. Pages not accessible for the current user should not be listed (especially the description can contain confidential information). > 3: I think there is an issue about security and ACL. Pages not accessible for the current user should not be listed (especially the description can contain confidential information).
 > 4: Whats the syntax to get a list of all pages (=root namespace) independent of current namespace? **Solved, its ''DIR::''** > 4: Whats the syntax to get a list of all pages (=root namespace) independent of current namespace? **Solved, its ''DIR::''**
Line 128: Line 144:
 (I forgot to say thanks for a great plugin!  --Scott Sampson) (I forgot to say thanks for a great plugin!  --Scott Sampson)
  
-==== Validation of style.css ==== 
- 
- 
-We Should change style.css to valid CSS script , or we cannot pass W3C Validator 
- 
-<code css> 
-<!-- 
-  Most of this style.css is copied from the pagelist plugin, 
-  keep it in line with that plugin... 
---> 
-</code> 
-<code css> 
-#  Most of this style.css is copied from the pagelist plugin, 
-#  keep it in line with that plugin... 
-</code> 
  
 ==== Respect Namespace Default Linking Rule ==== ==== Respect Namespace Default Linking Rule ====
Line 148: Line 149:
  
 Doesn't respect Namespace Default Linking rule Doesn't respect Namespace Default Linking rule
-It would be nice, if this plugin respect [[doku>namespaces#Namespace Default Linking|Namepace Default Linking Rule]], i. e. doesn't insist on ''start'' page.+It would be nice, if this plugin respect [[:namespaces#Namespace Default Linking|Namepace Default Linking Rule]], i. e. doesn't insist on ''start'' page.
 //---- 2009-07-31, Jorge// //---- 2009-07-31, Jorge//
  
Line 194: Line 195:
 </code> </code>
  
 +=== Additional ===
  
 +some lines above is another line
 +
 +  if (auth_quickaclcheck (substr($linkid,1)) < AUTH_READ)
 +
 +which should be replaced by
 +
 +  if (auth_quickaclcheck (substr($fqid,1)) < AUTH_READ)
 +  
 +because $linkid is not set
 +
 +(10.3.2014)
 ==== Ego and collapse background ==== ==== Ego and collapse background ====
  
Line 234: Line 247:
 Any suggestions, comments, questions:   --- //[[user>gjanssens|Geert Janssens]] 2008/11/04 10:44// Any suggestions, comments, questions:   --- //[[user>gjanssens|Geert Janssens]] 2008/11/04 10:44//
  
 +==== option collapse_sub ====
 +
 +I added an option **collapse_sub** which also lists all start pages of the first subnamespace
 +it's possible to combine it with **collapse* [[user>runout]]
 +
 +[[https://gitlab.com/dokuwiki-plugins/dir]]
 +
 +This version has several bugfixes included (PHP 8.2).
 +
 +==== Bug, Page not displayed ====
 +
 +If the DIR plugin is used on a page, the pagecontent ist not displayed. \\
 +Since update to 2014-09-29 "Hrun"
 +
 + --- [[user>runout|runout]] //2014-10-07 21:54//
 +
 +==== Sidebar, Cannot access protected property Doku_Renderer_xhtml::$_counter ====
 +Since update to 2014-09-29 "Hrun"
 +
 +[BUGFIX] Do not access protected renderer property
 +The Renderer counter is not resetted if render mode is not latex.
 +This prevents a PHP error when the protected _counter property is
 +accessed.
 +
 +This issue is fixed with pull request #20 with commit 3589642
 +
 +But the pull request has not yet been accepted by the current project maintainer.
  
 +You can manually install the commit [[https://github.com/Intera/dokuwiki-plugin-dir/archive/master.zip| from this link]]
  
 + --- [[user>paucoma|Pau]] //2014-11-10 13:27 CET//
  
plugin/dir/discussion.1302455966.txt.gz · Last modified: 2011-04-10 19:19 by 24.79.128.170

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