Manually activate omega menu item
Posted: 26 Apr 2017, 13:47
Hi all,
can I set a menu item in the omega menu "active" (and all others as not active) manually (by code) without actually clicking the menu item.
My use case is that - after login - I see the home page, but the menu link for the home page is not active. So I want to activate this manually (e. g. by some javascript code) when i am on the home page.
BTW: You have the same issue on the Omega demo page, where the "Dashboard" link is not activated right after initially visiting the page, although you see the "Dashboard" page.
Thanks in advance!
can I set a menu item in the omega menu "active" (and all others as not active) manually (by code) without actually clicking the menu item.
My use case is that - after login - I see the home page, but the menu link for the home page is not active. So I want to activate this manually (e. g. by some javascript code) when i am on the home page.
BTW: You have the same issue on the Omega demo page, where the "Dashboard" link is not activated right after initially visiting the page, although you see the "Dashboard" page.
Thanks in advance!