[Leftmenu_my_mega]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
admin4's mega menu of the Dashboard tab ([TopAdminMenu] MegaMenuTabs[]=dashboard, [Topmenu_dashboard] MegaMenuTemplate, drawn by parts/my/mega_menu.tpl through parts/ini_menu.tpl). Not a left menu: the Dashboard tab's left menu is [Leftmenu_my], one list. This section only sorts the tab's functions into groups and reuses the menus that define them instead of restating them: each group adds [Leftmenu_my] (GroupSections[]), with the links the extensions append there (Exponential Intelligence: expai, expai_vector, expai_chain, expai_log, expai_help; the Help center, which a site adds to the choice as overview-help_center once its link is there), the group "ei" adds [Leftmenu_design] too (Missing alt text, expai_alttext), the group "activity" adds [Leftmenu_audit] (the audit console and the AI events). Their addresses, policies, icons and descriptions are those of their menus, so a link of an extension that is not active, or one the user may not open, is not shown. Named Leftmenu_my_* so that it shares the translation context of the tab's menu, design/admin/parts/my/menu. MegaMenuLinks[] chooses from them as <group>-<key>, in this order (the groups follow the order of their first link: the audit before Exponential Intelligence, Change password and Edit profile last, as in the left menu); at most 19 are shown. My shopping basket and the preferred currency stay in the left menu.
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 | dashboard | |
| Links[] | (empty array) | |
| LinkNames[] | (empty array) | |
| Groups[] | overview; work; activity; ei; account | |
| GroupNames[<key>] | overview=Overview; work=Your work; activity=Activity and audit; ei=Exponential Intelligence; account=My account | |
| GroupSections[<key>] | overview=Leftmenu_my; work=Leftmenu_my; activity=Leftmenu_audit; ei=Leftmenu_my;Leftmenu_design; account=Leftmenu_my | |
| MegaMenuLinks[] | overview-dashboard; overview-recent_content; overview-help_center; work-my_drafts; work-my_pending; work-collaboration; work-my_bookmarks; activity-console; activity-expai_events; ei-expai; ei-expai_vector; ei-expai_chain; ei-expai_alttext; ei-expai_log; ei-expai_help; account-my_notifications; account-my_mail; account-change_password; account-edit_profile |
See also
Generated example: menu.ini [Leftmenu_my_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