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 [2009-08-22 20:21] 88.73.117.19plugin:navilevel [2018-06-04 23:36] (current) Klap-in
Line 1: Line 1:
-====== navilevel plugin ======+====== navilevel Plugin ======
  
 ---- plugin ---- ---- plugin ----
 description: A navigation tree that adapts to the page that hosts it description: A navigation tree that adapts to the page that hosts it
 author     : Thanos Massias author     : Thanos Massias
-email      : tm@thriasio.gr+email      : thanos.massias@gmail.com
 type       : syntax type       : syntax
-lastupdate : 2007-06-15weffwfwfwefwefw +lastupdate : 2007-06-15 
-compatible : 2006-03-09, rc2007-05-24+compatible : 2012-10-13
 depends    : depends    :
-conflicts +conflicts  :  
-similar    : +similar    : navi 
-tags       : tree, navigation, menu+tags       : navigation, menu, namespace 
 + 
 +downloadurl: http://www.acsys.gr/_media/plugins/navilevel/navilevel.tgz
 ---- ----
  
Line 37: Line 39:
 </file> </file>
  
-I tried it with DokuWiki versions DokuWiki-2006-03-09 up to DokuWiki-rc2007-05-24.+I tried it with DokuWiki versions DokuWiki-2006-03-09 up to DokuWiki-2012-10-13 “Adora Belle”.
  
 ===== In Action ===== ===== In Action =====
  
-You can see this plugin in action at [[http://www.kapagroup.gr/products/index]] +You can see this plugin in action at [[http://www.acsys1.gr/products/index]] 
 (the page is in Greek - sorry, but I currently have no publicly available example in English).  (the page is in Greek - sorry, but I currently have no publicly available example in English). 
 As you might guess, from the above URL, it is about a product line of some company.  As you might guess, from the above URL, it is about a product line of some company. 
Line 65: 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 87: Line 89:
 . .
 </navilevel> </navilevel>
 +~~NOCACHE~~
 </file> </file>
  
Line 103: Line 106:
 :a:b:d:index :a:b:d:index
 </navilevel> </navilevel>
 +~~NOCACHE~~
 </file> </file>
  
Line 114: Line 118:
 :a:b:d:index :a:b:d:index
 </navilevel> </navilevel>
 +~~NOCACHE~~
 </file> </file>
  
Line 128: Line 133:
 :c:d:e :c:d:e
 </navilevel> </navilevel>
 +~~NOCACHE~~
 </file> </file>
  
Line 139: Line 145:
 :c:d:e :c:d:e
 </navilevel> </navilevel>
 +~~NOCACHE~~
 </file> </file>
  
Line 162: Line 169:
 :d:e:g:h :d:e:g:h
 </navilevel> </navilevel>
 +~~NOCACHE~~
 </file> </file>
  
Line 212: Line 220:
 :k:l:w:y:index :k:l:w:y:index
 </navilevel> </navilevel>
 +~~NOCACHE~~
 </file> </file>
  
Line 233: 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.kapagroup.gr/_media/dokuwiki/plugins/navilevel/navilevel.tgz]] or +  * [[http://www.acsys.gr/_media/plugins/navilevel/navilevel.tgz]]
-  * [[http://www.kapagroup.gr/_media/dokuwiki/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 246: Line 254:
   Add smart navigation capability to DokuWiki   Add smart navigation capability to DokuWiki
  *  *
-  by Thanos Massias <tm@thriasio.gr> +  *  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 255: Line 260:
  *  *
   @license    GNU_GPL_v2   @license    GNU_GPL_v2
-  @author     Thanos Massias <tm@thriasio.gr>+  @author     Thanos Massias
  */  */
  
Line 272: Line 277:
         return array(         return array(
             'author' => 'Thanos Massias',             'author' => 'Thanos Massias',
-            'email'  => 'tm@thriasio.gr',+            'email'  => 'thanos.massias@gmail.com',
             'date'   => '2007-06-14',             'date'   => '2007-06-14',
             'name'   => 'navilevel Plugin',             'name'   => 'navilevel Plugin',
             'desc'   => 'Add smart Navigation Capability',             'desc'   => 'Add smart Navigation Capability',
-            'url'    => 'http://www.kapagroup.gr/dokuwiki/plugins/navilevel/',+            'url'    => 'http://www.acsys.gr/plugins/navilevel/',
         );         );
     }     }
Line 585: 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 621: Line 627:
  
 ----------- 2009-04-21 - Josef Meile <jmeile@hotmail.com>\\ ----------- 2009-04-21 - Josef Meile <jmeile@hotmail.com>\\
 +
 What about doing only one index file an including it on each page were you want it to appear? Just like the way the TracNav plugin does it: What about doing only one index file an including it on each page were you want it to appear? Just like the way the TracNav plugin does it:
 [[http://svn.ipd.uka.de/trac/javaparty/wiki/TracNav|TracNav: The navigation bar for Trac]] [[http://svn.ipd.uka.de/trac/javaparty/wiki/TracNav|TracNav: The navigation bar for Trac]]
  
  
-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// 
 + 
 +Unluckily this plugin won't unfold any more with angua. I've used [[plugin:navi|plugin:navi]] instead, which Function is similar 
 + 
 + --- //[[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 HTMLthat 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//
  
- --- //[[tm@thriasio.gr|Thanos Massias]] 2009/05/14 19:33// 
  
plugin/navilevel.1250965307.txt.gz · Last modified: 2009-08-22 20:21 by 88.73.117.19

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