0
Welcome Guest! Login
0 items Join Now

Guest & User menus

  • Guest & User menus

    Posted 14 years 3 months ago
    • G'day,

      Can anyone tell me how I can modify the new gantry code (or more specifly where to modify it) so I can have 2 different user menus - similar to the following code used in the index.php in the old non-gantry style templates. (Re: Menu Title Changes For Registered Users Postby SimonJ621 on Wed Jul 01, 2009 2:59 pm )

      $user = & JFactory::getUser();
      if ($user->guest) {
      $menu_name="mainmenu";
      } else {
      $menu_name="membermenu";
      }

      Cheers.
  • Re: Guest & User menus

    Posted 14 years 3 months ago
    • Is anybody able to help with this problem? I really need a solution!

Time to create page: 0.061 seconds