DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:indexmenu: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
Next revision
plugin:indexmenu:discussion [2016-09-27 21:48]
98.145.86.112
plugin:indexmenu:discussion [2021-04-12 16:11]
garrettlynch [nojs: How make all namespaces always switching open/close by clicking?]
Line 221: Line 221:
 > In indexmenu.php change line 820 to <code>$tagid = "indexmenu_idx_head indexmenu_idx";</code> to allow opening and closing with a start page set. > In indexmenu.php change line 820 to <code>$tagid = "indexmenu_idx_head indexmenu_idx";</code> to allow opening and closing with a start page set.
 > //[[richard@nospam.com|Richard Ginzburg]] 2015-08-07 11:20// > //[[richard@nospam.com|Richard Ginzburg]] 2015-08-07 11:20//
 +
 +>> Sadly this (changing /syntax/indexmenu.php) does not work for me on DokuWiki 2017 Frusterick
 +>> But I did manage to add a new "+" button after the headpage link to toggle the namespace open/close. ☞ [[https://github.com/samuelet/indexmenu/pull/181|my pull request]] --- [[user>MilchFlasche|MilchFlasche]] //2017-10-31 04:00//
 +
 +>>>Changing line 820 of /syntax/indexmenu.php to <code>$tagid = "indexmenu_idx_head indexmenu_idx";</code>
 +>>>does not work as mentioned above. Instead comment out line 815 (<code>$more  = '';<.code>) and namespaces with
 +>>>headpages will open as required. Why this isn't the default setting I'm unclear but agree with Petr
 +>>>above that it would be very easy to implement as a 'nolink' tag.
 ===== How to clean up dead links?! ===== ===== How to clean up dead links?! =====
 As I've got described in the DokuWiki Forum http://forum.dokuwiki.org/post/17408 I have dead links in the Indexmenu after I moved a page. Is there a way to clean up that entries? As I've got described in the DokuWiki Forum http://forum.dokuwiki.org/post/17408 I have dead links in the Indexmenu after I moved a page. Is there a way to clean up that entries?
Line 252: Line 260:
 > When you apply the sorting options, these firstly apply to pages. When you add ''nsort'' these sorting will be applied to the namespaces too. > When you apply the sorting options, these firstly apply to pages. When you add ''nsort'' these sorting will be applied to the namespaces too.
  
 +>>but how do you give that custom sorting number to a namespace which doesnt have a page? Am I missing something?
 ===== Permanent cookies? ===== ===== Permanent cookies? =====
  
Line 387: Line 395:
 ===== Inconsistency w/ core sneaky_index behaviour ===== ===== Inconsistency w/ core sneaky_index behaviour =====
  
-It appears that the plugin is still displaying the namespace name of namespaces that the logged-in user does not have read access to.  This, as I understand it, it the purpose of sneaky_index... +It appears that the plugin is still displaying the name of namespaces that the logged-in user does not have access to.  This, as I understand it, is the purpose of sneaky_index.  Better behaviour would be to exclude these namespaces from the index when sneaky_index is on. 
 + 
 +Please refer to doku documentation for sneaky_index:  
 +https://www.dokuwiki.org/config:sneaky_index 
 + 
 +===== Hide root ===== 
 + 
 +IMHO displaying the root node of the indexmenu tree is a waste of precious screen real estate. Is it possible to hide it? 
 + 
 +  Software User Manual 
 +  | 
 +  |- 1.0 Installation 
 +  |- 2.0 Configuration  
 +  |  |-2.1 Global Configuration 
 +  |  |-2.2 User Configuration 
 +  |  |-2.3 Exporting/Importing Configurations 
 +  |-3.0 Uninstalling 
 + 
 +change to 
 +<code> 
 +- 1.0 Installation 
 +- 2.0 Configuration  
 +  |-2.1 Global Configuration 
 +  |-2.2 User Configuration 
 +  |-2.3 Exporting/Importing Configurations 
 +-3.0 Uninstalling 
 +</code> 
 + 
 +===== Could You add Images to the index? ===== 
 + 
 +I would like to have a consistent display for my images files and foldersCould this be a future feature? 
  
  
plugin/indexmenu/discussion.txt · Last modified: 2021-09-29 20:06 by GogglesPisano