[Leftmenu_user_mega]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
admin4's mega menu of the Users tab ([TopAdminMenu] MegaMenuTabs[]=users, [Topmenu_users] MegaMenuTemplate, drawn by parts/user/mega_menu.tpl through parts/ini_menu.tpl). Not a left menu: the Users tab's left menu is the user tree and [Leftmenu_user] (parts/user/menu.tpl), and a tree is no list of links. This section only gathers the tab's functions in groups, and it reuses the menus that already define them instead of restating them: GroupSections[] adds [Leftmenu_user] (Roles and policies, Unactivated users) and [Leftmenu_my] (the user's own settings) with their addresses, policies, icons and descriptions; its own links are the two the Users tab has no menu entry for, the user tree and the sessions. Named Leftmenu_user_* so that it shares the translation context of the tab's menu, design/admin/parts/user/menu. MegaMenuLinks[] chooses from all of them, a link of an added section as <group>-<key>; at most 12 are shown, each in its group and only when the user may open it.
File
settings/menu.ini; override it in settings/override/menu.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| Name | users | |
| Links[<key>] | accounts=content/view/full/5; sessions=setup/session | The user tree, the Users tab's own page (its PolicyList[] and URL[default]; content.ini [NodeSettings] UserRootNode: a site with another user root node changes these two lines as it changes [Topmenu_users]) |
| LinkNames[] | (empty array) | |
| PolicyList_accounts[] | 5 | |
| PolicyList_sessions[] | setup/administrate | |
| Groups[] | users; access; account | |
| GroupNames[<key>] | users=Users; access=Access control; account=My account | |
| GroupLinks_users[] | accounts; sessions | |
| GroupSections[<key>] | access=Leftmenu_user; account=Leftmenu_my | |
| LinkIcons[<key>] | accounts=people; sessions=person-check | |
| LinkDescriptions[<key>] | accounts=Users and user groups; create and edit accounts.; sessions=Who is signed in; end sessions. | |
| MegaMenuLinks[] | accounts; sessions; access-roles_and_policies; access-unactivated; access-user_hygiene; access-user_audit; access-session_report; account-edit_profile; account-change_password; account-my_notifications; account-my_mail |
See also
Generated example: menu.ini [Leftmenu_user_mega]
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/menu.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment