I’m trying to get the menus to highlight with JReviews by following these instructions:
http://docs.reviewsforjoomla.com/Making_JReviews_Menus_active_when_viewing_listing_detail_pages
http://docs.reviewsforjoomla.com/Creating_Required_Joomla_Menu_Items
The solution requires adding some additional code to the index.php:
$Itemid = JRequest::getInt('Itemid');
$menu = &JSite::getMenu();
// Repeat for every JReviews menu that needs to become active
if($Itemid == 211){ // example of the itemId of Joomla menu item
$menu->setActive(143); // example of the itemId of JReviews menu item
}
However, T3 isn’t using index.php in the normal way so I don’t know where to add the above code.
Any solutions out there?
Thanks.