GetSimple Support Forum
Admin - Side menu current class - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: Admin - Side menu current class (/showthread.php?tid=4734)



Admin - Side menu current class - kolorguild - 2013-05-12

Hi guys,

In the admin side I have 2 side menu buttons on a new tab I created. When you click on the tab the first function is displayed but the button associated to that function is not highlighted. I want the first button to be highlighted.

For example when you click on the pages tab the first side menu button is highlighted.

I want to do this to my plugin's tab.
Can anyone help me?


RE: Admin - Side menu current class - shawn_a - 2013-05-12

I think this is based on the action matching the I'd or something I'd have to look again.


RE: Admin - Side menu current class - kolorguild - 2013-05-12

(2013-05-12, 03:50:48)shawn_a Wrote: I think this is based on the action matching the I'd or something I'd have to look again.

I figured it out. The add_action calls for the tab and side menu needed to have the same action parameter names.

Thanks though.


RE: Admin - Side menu current class - lifeisshort - 2014-02-13

Maybe you can explain how you did it? Thanx