0

我有一篇关于 joomla 1.7 的文章(id=6)

我有主菜单。在那个菜单中,我创建了只显示一篇文章的项目,即 id=6 的文章。

我有一个二级菜单,有 3 个不同的项目。其中之一,我必须将其链接到 id=6 的同一篇文章。

问题是,我需要在主菜单项和二级菜单项中添加“当前”id,因为两者都是指向同一篇文章的链接,所以我必须突出显示它们。

默认情况下,系统仅在我单击该项目时将当前 ID 添加到该项目,并且当我显示该项目链接的同一文章时不会。

有什么帮助吗?谢谢你。

4

1 回答 1

0

What happens if you change the second menu item to the type of 'Alias' and select the original menu item in the right hand side options?

Now instead of having two menu items with different internal menu ItemIds you have two items with the same ItemId. As long as your css is correct they should both be highlighted (or should that be highlit?).

于 2011-11-21T20:28:59.543 回答