Hello Elgg community,
How can I re-order all my menu items of site menu manually ,I meant to say without "Alphabetical order" ?
I succeed to change the order of menu items when I overrode the views/default/navigation/menu/site.php file but this solution doesn't let me hide some menus using module roles.
Thank you all very much.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- bilel@bilel.elgg
bilel - 0 likes
- Marco's@olairmarcos
Marco's - 0 likes
- bilel@bilel.elgg
bilel - 0 likes
- Sathish Kumar@rubon
Sathish Kumar - 0 likes
- bilel@bilel.elgg
bilel - 0 likes
You must log in to post replies.Please is there an idea to change the order of menu items ?
Hi,
In the administration site, access the menu sidebar appearance > Items menu. In the main page, set menu items. Select Which menu items you want to show the featured links according to your need.
Thank you Marco's for your answer ,but I need to change the order of menu items using my plugin code (hook for example)/
for that you need to unregister all the menu and register it again with priority
refer the bellow page for syntax
http://learn.elgg.org/en/1.11/guides/menus.html
Thank you Sathish for your guidance and help.