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
plugin:indexmenu:discussion [2016-09-27 21:50] โ€“ [Inconsistency w/ core sneaky_index behaviour] 98.145.86.112plugin:indexmenu:discussion [2024-04-19 15:48] (current) โ€“ [Is there a way to make a Direct link rather than using a Link Pages?] rgleason
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 291: Line 299:
 > The only reason I am still using [[:plugin:nspages]] plugin is its support for //inclusion// filter > The only reason I am still using [[:plugin:nspages]] plugin is its support for //inclusion// filter
 > --- [[user>marcink|marcink]] //2016-02-18 21:11// > --- [[user>marcink|marcink]] //2016-02-18 21:11//
 +
 +> +1
 +> Until then, here's the work-around I used
 +> {{indexmenu>.|skipns=/(?s)^((?!:namespacetomatch).)*$/}}
 +> --- [[user>GogglesPisano|GogglesPisano]] //2021-09-29 20:04//
 ===== Showing tree and ACL ===== ===== Showing tree and ACL =====
 Is it possible to show all the tree (namespaces/directories) in the menu when the only subnamespace is allowed in ACL? Currently the nothing is shown. Is it possible to show all the tree (namespaces/directories) in the menu when the only subnamespace is allowed in ACL? Currently the nothing is shown.
Line 391: Line 404:
 Please refer to doku documentation for sneaky_index:  Please refer to doku documentation for sneaky_index: 
 https://www.dokuwiki.org/config: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 folders. Could this be a future feature?
 +
 +
 +===== Make a Direct link (to another namespace) rather than using a Link Pages? =====
 +
 +We are using what I call "Link Pages" such as this one  "[[https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:manual_basic:user_interface:display_orient|Chart Display Orientation]]"    
 +%%https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:manual_basic:user_interface:display_orient%%
 +
 +This namespace has the link to the page that we actually want which is in a different namespace.
 +
 +"Please refer to [[https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:manual_basic:chartbar:chart_panel:navigation-mode|Navigation Mode]]"
 +%%https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:manual_basic:chartbar:chart_panel:navigation-mode%%
 +
 +Is there a method without using the "Link Page", to kind of inject the actual path that we want, which is
 +%%https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:manual_basic:chartbar:chart_panel:navigation-mode%%
 +
 +Note that I turned these into external links so they actually work, they are normally internal links.
 +
 +I fully expect that this is an impossibility when using indexmenu.
 +
 +Can you suggest any work-arounds?
 +
 +One work around would be namespace piping which would allow an intended page to be called from the "link page".
 +
 +IE:  On the "Link Namespace" 
 +    
 +  An Injection command: Inject this namespace and display it immediately --->  %%https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:manual_basic:chartbar:chart_panel:navigation-mode%%
  
  
 + 
plugin/indexmenu/discussion.1475005812.txt.gz ยท Last modified: 2016-09-27 21:50 by 98.145.86.112

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