module-menu
view folder is no longer supported and will not be loaded in 12.3+, instead, Sugar is loading the following views:
sidebar-nav-item-module |
View with code to display the Home menu and it's icon |
sidebar-nav-flyout-module-menu |
View with Secondary Action menu (submenu) with dashboards and recent items |
You must, manually, move your customizations from module-menu
to sidebar-nav-item-module
and sidebar-nav-flyout-module-menu
by adapting your code to the new handlebar template, JavaScript and PHP code.
Files Prior to 12.3 |
Files 12.3+ |
/clients/base/views/module-menu/module-menu.hbs |
/clients/base/views/sidebar-nav-item-module/sidebar-nav-item-module.hbs |
/clients/base/views/module-menu/module-menu.js |
/clients/base/views/sidebar-nav-item-module/sidebar-nav-item-module.js |
- |
/clients/base/layouts/sidebar-nav-flyout-module-menu/sidebar-nav-flyout-module-menu.js |
Extending Redesigned Views
If your customization requires extending the redesigned view component, make sure to extend the proper class going forward:
Files Prior to 12.3 |
Files 12.3+ |
extendsFrom: 'ModuleMenuView' |
SidebarNavFlyoutModuleMenuLayout' |
- |
SidebarNavItemModuleView' |