You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to add an optional weight for the items of the menu. This weight would be used when rendering the menu to order the items located in the same level of the tree.
I know that at the moment if I want an item at the end of the list I have to add it last. But it would simplify a lot of logic in the code if we could use a weight system.
ie. you want to display 5 menu items depending of the user role:
Could you please request it into KnpMenu instead ? the bundle is only about the Symfony2 integration. It will make things easier by keeping the feature request in its right location.
It would be great to add an optional weight for the items of the menu. This weight would be used when rendering the menu to order the items located in the same level of the tree.
I know that at the moment if I want an item at the end of the list I have to add it last. But it would simplify a lot of logic in the code if we could use a weight system.
ie. you want to display 5 menu items depending of the user role:
without weight system:
with a weight system:
I had a look to the options and could not find it so I guess it's not been implemented for now but I'll be happy to know that I'm wrong :)
Cheers,
Maxime
The text was updated successfully, but these errors were encountered: