yogiben / meteor-admin

A complete admin dashboard solution
https://atmospherejs.com/yogiben/admin
GNU General Public License v3.0
827 stars 261 forks source link

Reorder the admin menu? #101

Open gkodikara opened 9 years ago

gkodikara commented 9 years ago

I've added a new sidebar item, as per your readme -

AdminDashboard.addSidebarItem 'New User', AdminDashboard.path('/Users/new'), icon: 'plus'

However, this just adds the item at the bottom of the menu, what would be the best way to define the order? Don't want my new menu items appearing under 'Users'

mpowaga commented 9 years ago

There's no way to do this at the moment.

gkodikara commented 9 years ago

It seems to be appending items to the menu based on the order of collections within adminConfig. So the next step would be to ascertain where the 'Users' section of the menu is loaded in - If I can find that I can try and find a way to run the next items in between that if I need..