Here's some sample code that I use for a two-level system. You can probably get a third level by doing conditional tests on page names.
Site.SideBar: %define=current color=red font-weight=bold% ! [[Home -> Main/HomePage]] (:if authid:) * [[Edit -> action:edit]] * [[Logout -> action:logout]] (:if !authid:) * [[Login -> action:login]] (:ifend:) * [[Search -> action:search]] * [[Other Commands -> Main/Commands]] * [[Sandbox -> Main/WikiSandbox]] !Groups (:include Adam.SubMenu:) (:include Chris.SubMenu:) (:include Shi.SubMenu:) %right% [-[[edit SideBar -> Site.SideBar?action=edit]]-] -=0=- Shi.SubMenu: (:if ! group Shi:) * [[Shi]] (:if group Shi:) * %current% [[Shi]] ** [[Dev Tools -> MyDevTools]] ** [[Windows Tips -> MyWindowsTips]] ** [[Unix Tips -> MyUnixTips]] ** [[CVS Tips -> MyCVSTips]] ** [[Work in Progress]] (:if:) -=0=- Shi. _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
