DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:navilevel

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:navilevel [2012-11-26 10:15] 85.74.41.225plugin:navilevel [2018-06-04 23:36] (current) Klap-in
Line 1: Line 1:
-====== navilevel plugin ======+====== navilevel Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 67: Line 67:
 Note that, there was a change from version #4 on how this works. Note that, there was a change from version #4 on how this works.
  
-Release version 2007-06-14 also has a new feature. If the page that calls the plugin (or the "main" page if it is called from a sidebar page) is named 'sitemap', all nodes will expand. You can see this in action at [[http://www.kapagroup.gr/sitemap]] and I even use it as my ''link rel="contents"''+Release version 2007-06-14 also has a new feature. If the page that calls the plugin (or the "main" page if it is called from a sidebar page) is named 'sitemap', all nodes will expand. You can see this in action at [[http://www.acsys1.gr/sitemap]] and I even use it as my ''link rel="contents"''
  
 ==== Issues with older releases ==== ==== Issues with older releases ====
Line 242: Line 242:
 ===== Installation ===== ===== Installation =====
  
-Use the [[plugin:plugin|plugin manager]] to download it from:+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-  * [[http://www.acsys.gr/_media/plugins/navilevel/navilevel.tgz]] or +  * [[http://www.acsys.gr/_media/plugins/navilevel/navilevel.tgz]]
-  * [[http://www.acsys.gr/_media/plugins/navilevel/navilevel.zip]]+
      
-After installing it you may have to edit ''lib/plugins/navilevel/syntax.php'' and change $lowlevel as per the bellow instructions. +After installing it you may have to edit ''lib/plugins/navilevel/syntax.php'' and change $lowlevel as per the above instructions. 
  
 Alternatively, to install manually, create a folder ''navilevel'' in ''lib/plugins'' and put the below code in ''lib/plugins/navilevel/syntax.php'': Alternatively, to install manually, create a folder ''navilevel'' in ''lib/plugins'' and put the below code in ''lib/plugins/navilevel/syntax.php'':
Line 255: Line 254:
   Add smart navigation capability to DokuWiki   Add smart navigation capability to DokuWiki
  *  *
-  by Thanos Massias <thanos.massias@gmail.com> +  *  Roland Hellebart's tree plugin ( his http://www.dokuwiki.org/plugin:tree )
-  under the terms of the GNU GPL v2. +
- * +
- *  Roland Hellebart's tree plugin ( his http://www.dokuwiki.org/plugin:tree )+
   was used as a base for this.   was used as a base for this.
  *  *
Line 264: Line 260:
  *  *
   @license    GNU_GPL_v2   @license    GNU_GPL_v2
-  @author     Thanos Massias <tm@thriasio.gr>+  @author     Thanos Massias
  */  */
  
Line 594: Line 590:
  
  
 +====== Multilingual content ======
  
 +With a slight modification, navilevel can become aware of a multilingual environment. The way it works in this case is demonstrated in [[http://www.acsys.gr/]]. The code for that is not included in the version of navilevel presented in this page in order to keep things simple. However, if someone is interested in it, please drop me an e-mail.
  
 ====== Discussion ====== ====== Discussion ======
Line 635: Line 632:
  
  
-Actually, this is close to how this plugin works. I include the relevant code in the sidebar page (I'm obviously using a template with a sidebar) and the navigation tree adapts to the current page. The example site I mention above, demonstrates just that. However, I like the approach of the [[plugin:navi|navi]] plugin where, unlikely navilevel, you can define a site structure independent of the actual namespace structure. Besides, it is actively developed (not to mention who the author is).+Actually, this is close to how this plugin works. I include the relevant code in the sidebar page (I'm obviously using a template with a sidebar) and the navigation tree adapts to the current page. The example site I mention above, demonstrates just that. However, I like the approach of the [[plugin:navi|navi]] plugin where, unlikely navilevel, you can define a site structure independent of the actual namespace structure. Besides, it is actively developed.
  
  --- //[[thanos.massias@gmail.com|Thanos Massias]] 2009/05/14 19:33//  --- //[[thanos.massias@gmail.com|Thanos Massias]] 2009/05/14 19:33//
Line 642: Line 639:
  
  --- //[[hella.breitkopf@gmail.com|Hella Breitkopf]] 2012-02-15//  --- //[[hella.breitkopf@gmail.com|Hella Breitkopf]] 2012-02-15//
 +
 +Actually this plugin still works. I'm now using it with “Adora Belle”. BTW, there are some cool things you can do with it by creatively using the 'some_text_before' and 'some_text_after' fields (which can include HTML) that make it irreplaceable for me. The silliest trick was including a <blink>«</blink> marker for a menu item I wanted highlighted. I also added descriptive text after the links, properly positioned with <br /> and even modified the plugin a bit to have some list items permanently expanded.
 +
 + --- //[[thanos.massias@gmail.com|Thanos Massias]] 2013/03/15 10:17//
 +
  
plugin/navilevel.1353921309.txt.gz · Last modified: 2012-11-26 10:15 by 85.74.41.225

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