定制 plone 面包屑并移出 plone 顶部
克隆人正在休假,我请求将面包屑添加到克隆 3 站点。 通常在 plone 中,徽标、导航搜索个人栏和面包屑都在名为 plonetop 的视图中 该视图已被直接 html 替换,因为修改 plones 默认 plonetop 视图太难了。
Portal_view_customizations 中有一个名为 path_bar 的视图,它包含面包屑视图。我想在网站上显示它,但我不知道如何调用它。看来我需要创建一个自定义视图并在configure.zcml 中创建一个新部分,但我真的不知道从哪里开始。
有人可以帮忙吗?
重申一下,我想将 plone 路径栏放置到页面上,而无需所有其他 plone 顶部内容,只有 path_bar。
The plone guy is on leave, I have a request to add breadcrumbs to a plone 3 site.
Normally in plone the logo, navigation search personal bar and breadcrumbs are all in a view called plonetop
This view has been replaced with straight html because it was too hard to modify plones default plonetop view.
There is a view in portal_view_customizations called path_bar, it contains the breadcrumb view. I want to display this on the site but I don't know how to call it. it appears I need to create a custom view and create a new section in configure.zcml but I really don't know where to start.
can anyone help?
To reiterate I want to place the plone path bar onto the page without all the other plone top stuff just the path_bar.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最后我又回到了plone 2的做法。因为 plone3 向后兼容,所以我可以简单地将 plone 2 宏放在我想要的地方,瞧!它起作用了。
Plon 3 实在是太难用了。
In the end I fell back to the plone 2 way of doing it. Because plone3 is backward compatible I was able to simply drop the plone 2 macro where I wanted it and voila! it worked.
Plone 3 is simply too hard to work with.