如何使用pyroCMS在导航中添加子菜单项
我的页面是其他页面的子页面,并希望它们在下拉菜单中显示为菜单项(类似于 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果不进行一些修改,您就无法做到这一点。我会在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
您可以在控制面板中创建它,只需拖放父项下的导航链接即可。
如果在您的主题中使用菜单标签,则该标签应该会自动显示。
尝试查看如何使用它: 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