test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • klhouser Friend
    #167796

    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.

    syahzul Friend
    #408512

    try this, copy /plugins/system/jat3/base-themes/default/page/default.php to /templates/your_template/page/default.php and add the code inside this file.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  syahzul 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum