Joomla菜单问题显示当前项目

Joomla菜单问题显示当前项目

问题描述:

I have two different menus in my Joomla site. One is top menu with menu items (Home, Portfolio, contact us etc) and the 2nd is a left menu with menu items (p1, p2, p3 etc). I created different menus for both top menu and left menu. Now what I want is when I select "Portfolio" from top menu it should displayed as current item and "p1" (from left menu) should also be current. Also, in the same way when I select any of the menu item from left menu the portfolio must remain selected (current).

我在Joomla网站上有两个不同的菜单。 一个是带菜单项的顶级菜单(主页,投资组合,联系我们等),第二个是带菜单项(p1,p2,p3等)的左侧菜单。 我为顶层菜单和左侧菜单创建了不同的菜单。 现在我想要的是当我从顶部菜单中选择“Portfolio”时它应该显示为当前项目,而“p1”(从左侧菜单)也应该是最新的。 此外,以同样的方式,当我从左侧菜单中选择任何菜单项时,投资组合必须保持选中(当前)。 p> div>

This can be done using menu aliases.

In your second menu, change each of the menu item's type to alias. Doing that will give you an option of selecting a menu item from the main menu. Select the corresponding main menu item and save.

Now when you click a menu item in either menu, the corresponding item in the other menu will be active along with the one that you clicked on.