Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $currentMenuId = JSite::getMenu()->getActive()->id ;
- $menu->setActive( $menuitemid );
- $app = JFactory::getApplication(); $menu = $app->getMenu();
- $menu->setActive( $menuitemid );
- $menu = JSite::getMenu(); $menu->setActive( $menuitemid );
Add Comment
Please, Sign In to add comment