]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by TobiOetiker
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 30 Dec 2006 17:16:52 +0000 (17:16 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 30 Dec 2006 17:16:52 +0000 (17:16 +0000)
doc/plugins/contrib/navbar.mdwn [new file with mode: 0644]

diff --git a/doc/plugins/contrib/navbar.mdwn b/doc/plugins/contrib/navbar.mdwn
new file mode 100644 (file)
index 0000000..a95ede7
--- /dev/null
@@ -0,0 +1,33 @@
+The Navbar Plugin renders a Navigation Bar into your page. It is based on code
+from the sidebar plugin see http://ikiwiki.kitenet.net/plugins/sidebar.html
+for details.
+
+The plugin looks for a page called "navbar" 
+
+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 ... 
+
+Tobi Oetiker 2006.12.30    
+