内页动态菜单表

发布于 2024-12-04 05:58:26 字数 54 浏览 0 评论 0原文

我想根据主页上的选项卡在内页中添加动态菜单表。 如何在 joomla 中做到这一点,请帮助我。

I want to add dynamic menu table in inner pages based upon the tabs on the home page.
how to do that in joomla,please help me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

橙味迷妹 2024-12-11 05:58:26

听起来您正在尝试创建一个拆分菜单,其中您在顶部单击的链接确定显示在列/下方的菜单。这是 Joomla 菜单的本机行为,只需在菜单模块中设置开始和结束级别即可。这是一个很好的教程 -

http ://www.theartofjoomla.com/magazine/article/27-more-menu-tricks-the-split-menu-technique.html

It sounds like you are trying to create a split menu where the link you click at the top determines the menu that shows up in a column/below. This is the native behavior for Joomla menus simply by setting the start and end levels in the menu module. Here is a good tutorial -

http://www.theartofjoomla.com/magazine/article/27-more-menu-tricks-the-split-menu-technique.html

弄潮 2024-12-11 05:58:26

注意:: Joomla 中的分层菜单功能仅在拆分等于两个级别时才起作用。如果您想使用跨 3 个或更多级别的单个主菜单来构建站点,那么这是行不通的。看起来 Joomla 的内部不知道如何在生成菜单时正确跟踪父级(不太确定)(可能有点夸张)。级别 1:1 有效,级别 2:2 有效,但当您尝试指定从级别 3 开始的菜单时,它会崩溃。就我而言,我破解了菜单来检查路径(面包屑)列表并从中获取我想要的内容,以便我可以确定第 3 级(或其他)项目的真正父级。然后我就可以正确生成项目。 Joomla (v1.7) 的这一点令人失望。除此之外,您还必须进一步破解以确保从 1 开始的每个菜单项实例都正确突出显示。也许菜单应该与面包屑路径列表更紧密地结合。

Beware:: The split level menu feature in Joomla only works when the split equals TWO levels. If you want to build your site with a single master menu that spans 3 or more levels, this does not work. It looks like the internals of Joomla do not know how to track the parent properly (not really sure) when the menus are generated (probably an overstatement). Level 1:1 works, Level 2:2 works but then when you try to specify a menu starting at level 3, it breaks. In my case, I hacked the menu to check the pathways (breadcrumbs) list and derive what I wanted from it so I could determine the real parent of the items at level 3 (or other). Then I could get the items to generate proper. This was a disappointment in Joomla (v1.7). And then on top of this, you would then have to hack further to ensure that each menu item instance starting at 1 is highlighted proper. Perhaps the menus should be more closely coupled to the breadcrumbs pathway list.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文