コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2288 ビュー

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