How can I change the order of the left menu items

Caroline Milk Posted in Component Development 2 weeks ago

Hello,

When installing the new Component, it appears in the last position, sometimes in the first or in the middle of the menu sidebar on the left.
I want to choose the priority of these items ... how to do?

Replies
Breton Caroline Milk Replied 2 weeks ago

Thank you Arsalan!

And the Links item, where do I place the priority?

German Arsalan Shah Replied 2 weeks ago

You have to unregistered all menus and then register it again example

ossn_register_menu_item('newsfeed', 'array(
        'name' => 'google_search',           
        'text' => 'Google',
        'href' => 'http://google.com',
        'section' => 'links',
        'priority' => 1 or any other number
));

.