metismenu
metismenu copied to clipboard
URL recognition isn't quite magic enough
I'm trying to use metisMenu on our admin area. When I go to the URL /admin/reports/monthly_sales/, all three listed below are highlighted in the menu. As the admin area is namespaced, all the URLs start with /admin/, therefore visiting any URL will highlight the root admin link.
/admin/reports/monthly_sales
/admin/reports
/admin
I don't know if it's related, but any option at the third level is collapsed, rather than remaining expanded as it should.
@simmogs Is that what you wanted? https://jsfiddle.net/kvzhb1hg/1/
That's an accurate example of the layout I already have. Does this work for you as it doesn't work for me. Thanks.
I have a related issue. If my current page is, for example, local.dev/personas/view
, both of links (local.dev/personas/view
and local.dev/personas
) are marked as 'active'.
How can I control this?
I have the same problem