Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4068 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
3
Jul 25
2157
3
Mei 25
3767
2
Jun 25
4231
0
Jun 21
2458
1
Agu 24
3607