|
Cookbook /
ExpandingMenuSummary: A sidebar menu that supports nested lists where the nested items are displayed only if the user is in that group
Version:
Prerequisites:
Status:
Maintainer: dstebila
Discussion: ExpandingMenu-Talk
Categories: Layout, Administration
GoalA sidebar menu that supports nested lists where the nested items are displayed only if the user is in that group. Features
SolutionPut emenu.phpΔ in your cookbook directory (you may have to create it). Add the following line to local/config.php: UseDecorate your existing sidebar menu with From the technical point of view, It does not affect any other lists outside Example (copy and paste to your page, it won't work here)(:emenu:) (:emenuend:) In this example, when the user is on any page in the Main group, only the first three items in the menu are displayed. When the user is on any page in the PmWiki group, all the menu items are displayed. See also
Contributorsdstebila, 17-Apr-2005 CommentsSee discussion at ExpandingMenu-Talk |