]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/contrib/navbar.mdwn
web commit by TobiOetiker
[git.ikiwiki.info.git] / doc / plugins / contrib / navbar.mdwn
1 [[template id=plugin name=navbar author="[[TobiasOetiker]]"]]
2 [[meta title="navbar (third-party plugin)"]]
5 The Navbar Plugin renders a Navigation Bar into your page. It is based on code
6 from the sidebar plugin see http://ikiwiki.kitenet.net/plugins/sidebar.html
7 for details.
9 The plugin looks for a page called "navbar" 
11 This page must contain a itemized list of the form
14     * \[[Welcome|index]]
15     * \[[Management|mgmt]] 
16       * \[[Leadership|mgmt/lead]]       
17       * \[[Kidnapping|mgmt/kidnapping]]          
18     * \[[Information_Technology|it]]  
19       * \[[Windows|it/windows]]
20       * \[[Mobile_Communication|it/mobile]] 
22 This list will be turned into a folding menu structure
24 Include this into your templates.
26     <TMPL_IF NAVBAR> 
27     <div id="navbar">
28     <TMPL_VAR NAVBAR>
29     </div>
30     </TMPL_IF>
33 To make a nice menu, some css magic is required, but since this is required to make
34 ikiwiki look good anyway, I won't go into details here ... 
36 Tobi Oetiker 2006.12.30    
38 If you are interested in this, drop me a line tobi at oetiker dot ch