Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2277 Представления

Hallo, could anyone please point me in the direction for writing a module with customizations to the menu structure like: 

  • adding new menu items (top-level too)
  • translating single menu items (without recurring to classic translation methods)
  • change groups assigments

In a very rough example, it could be a replacement for menu "Sales": 

  1. "My Sales" that inherits "Sales"
    • "CRM" instead of "Sales", and visible to managers only
      • "Clients" instead of "Customers"
  2. Hide "Sales" menu

Thanks in advance

Аватар
Отменить
Лучший ответ

Simply open sale_view.xml in sale module, look for all <menuitem ... lines

Write your own module containig xml file wich defines new menuitems...
Top level items has no parent_id , everything else is simple copy/paste /modify to your needs...

Аватар
Отменить
Автор

thank you