Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4054 Vues

Hi all,

I have the module arrangment order as Sale Accounting Purchase Wareshoue Settings. I wish to change it in my desired order as per user convenience. Is it possible to change the order ? if yes how can we do that ?

Thanks in advance

Avatar
Ignorer
Meilleure réponse

Hi,

I think you want to rearrange the order in which the menu are shown on the menu bar.

If my understanding is correct, you can do that very well using the following

1) Inherit all the menu that you want to rearrange and change the sequence attribute for those menu. All the menu will be rearranged.

Here's the template of a menu item :

<menuitem id="menuitem_id"
          name="Position/Of/The/Menu/Item/In/The/Tree"
          action="action_id"
          icon="NAME_FROM_LIST"
          groups="groupname"
          sequence="<integer>"/>

sequence is an integer that is used to sort the menu item in the menu. The higher the sequence number, the downer the menu item. This argument is not mandatory: if sequence is not specified, the menu item gets a default sequence number of 10. Menu items with the same sequence numbers are sorted by order of creation (_order = "sequence,id").

I have tried it for menu items but not for top menu. But it should work in the same way for top menu as well. Just try it.

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
juil. 25
2151
3
mai 25
3755
2
juin 25
4221
0
juin 21
2443
1
août 24
3605