使用z3c.jbot覆盖Plone document_view

发布于 2024-12-14 07:27:24 字数 298 浏览 4 评论 0原文

我正在使用 Plone 4.0.7 & Mac OSX 10.7 上的 Python 2.6.7:

在站点的特定部分中,我需要稍微调整 document_view,因此我想向 document.pt 添加条件。我正在尝试使用 z3c.jbot 来执行此操作,但由于某种原因我的更改没有显示。我使用文件名 Products.CMFDefault.browser.templates.document.pt 来覆盖该文件。我一直使用 z3c.jbot,我真的不确定为什么这不起作用,所以任何建议将不胜感激。

谢谢

I'm working with Plone 4.0.7 & Python 2.6.7 on Mac OSX 10.7:

I need to tweak the document_view just slightly when in a specific segment of my site so I want to add a conditional to the document.pt. I'm trying to use z3c.jbot to do this but for some reason my changes aren't showing. I'm using the file name Products.CMFDefault.browser.templates.document.pt in order to override the file. I use z3c.jbot all the time and I'm really not sure why this isn't working so any suggestions would be greatly appreciated.

Thanks

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

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

发布评论

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

评论(1

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