2008-07-21 13:31:57 +02:00
[[!template id=plugin name=navbar author="[[TobiOetiker]]"]]
2006-12-30 18:20:02 +01:00
2006-12-30 18:16:52 +01:00
The Navbar Plugin renders a Navigation Bar into your page. It is based on code
2007-04-08 05:31:37 +02:00
from the [[sidebar_plugin|plugins/sidebar]].
2006-12-30 18:16:52 +01:00
2007-04-08 05:04:50 +02:00
The plugin looks for a page called "navbar"
2006-12-30 18:16:52 +01:00
This page must contain a itemized list of the form
* \[[Welcome|index]]
* \[[Management|mgmt]]
* \[[Leadership|mgmt/lead]]
* \[[Kidnapping|mgmt/kidnapping]]
* \[[Information_Technology|it]]
* \[[Windows|it/windows]]
* \[[Mobile_Communication|it/mobile]]
This list will be turned into a folding menu structure
Include this into your templates.
<TMPL_IF NAVBAR>
<div id="navbar">
<TMPL_VAR NAVBAR>
</div>
</TMPL_IF>
To make a nice menu, some css magic is required, but since this is required to make
ikiwiki look good anyway, I won't go into details here ...
2007-04-13 19:52:02 +02:00
See the navbar in action on <http://insights.oetiker.ch>
2007-04-12 23:58:14 +02:00
2006-12-30 18:16:52 +01:00
Tobi Oetiker 2006.12.30
2007-02-12 03:44:47 +01:00
If you are interested in this, drop me a line tobi at oetiker dot ch
2011-09-08 22:13:40 +02:00
In the meanwhile, I ([[MartinQuinson]]) have hacked this a bit to make it fit my needs. The result is [[here|http://www.loria.fr/~quinson/Hacking/ikiwiki/]]