定制 plone 面包屑并移出 plone 顶部

发布于 2024-09-07 04:29:27 字数 348 浏览 2 评论 0原文

克隆人正在休假,我请求将面包屑添加到克隆 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 技术交流群。

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

发布评论

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

评论(1

泡沫很甜 2024-09-14 04:29:27

最后我又回到了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.

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