21288 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 173 Views |
-
Order tabs in backend

3 January 2013 at 1:47am
He guys,
happy new year! I´m using for Silver Stripe 2.4. several ModelAdmins (StaffMembers, Products...).
Does anyone know how I can change the order of the tabs in the top of the backend?
For example: 1. Products, 2. StaffMembers and not the other way around. -
Re: Order tabs in backend

4 January 2013 at 3:32pm
Hi Bereusei
I believe you can control the order using the static variable $menu_priority.
class Products extends ModelAdmin {
public static $menu_priority = 1;
}class StaffMembers extends ModelAdmin {
public static $menu_priority = 2;
}
| 173 Views | ||
|
Page:
1
|
Go to Top |


