如何使用pyroCMS在导航中添加子菜单项

发布于 2024-10-14 17:00:32 字数 301 浏览 8 评论 0原文

我的页面是其他页面的子页面,并希望它们在下拉菜单中显示为菜单项(类似于 superfish)

在pyroCMS 1.0.3 中如何添加该功能?

我找到了一个教程 http://codeigniter.com/forums/viewthread/139227/P150/ 但它引用了不存在的文件,因此它必须适用于旧版本的pyroCMS。

我陷入了第 6 步:向助手添加函数。

I have pages that are children of other pages, and would like them to show up as menu items in a dropdown (something like superfish)

In pyroCMS 1.0.3 how do I add that ability?

I've found a tutorial http://codeigniter.com/forums/viewthread/139227/P150/ but it references to files that don't exist so it must be for an older version of pyroCMS.

I'm stuck at step 6. adding a function to the helper.

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

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

发布评论

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

评论(2

够运 2024-10-21 17:00:32

如果不进行一些修改,您就无法做到这一点。我会在github上查看这个拉取请求 https://github.com/pyrocms/pyrocms/拉/62

You can't do it without making some modifications. I would take a look at this pull request on github https://github.com/pyrocms/pyrocms/pull/62

静待花开 2024-10-21 17:00:32

您可以在控制面板中创建它,只需拖放父项下的导航链接即可。

如果在您的主题中使用菜单标签,则该标签应该会自动显示。

尝试查看如何使用它: http://docs.pyrocms.com/2.1/manual /插件/导航

You can create it in the Control Panel, just drag and drop the nav link under the parent.

If in your theme you're using the menu tag this should be display automatically.

Try to see how to use it: http://docs.pyrocms.com/2.1/manual/plugins/navigation

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