Plone 4.0.5、门垫、默认页脚和联系链接
我很乐意在门垫方面获得一些帮助。 1)除了底部的门垫之外,我在该部分的上方看到一个“门垫”: “Plone® 开源 CMS/WCM © 2000-2011,由 Plone 基金会和朋友拥有。根据 GNU GPL 许可证分发。”。 如何在所有页面上删除它? 2) 我很高兴为 Plone 打造品牌,但我会在门垫上这样做 - 如何删除所有页面上的“The Plone® Open Source CMS/WCM...”部分? 3)我还想删除“由 Plone 和 Python 提供支持”(带链接)部分。 4) 如何将“联系方式”链接移至顶部“登录”链接的长边。
谢谢。 尼古拉·G.
I would be happy to get some help with the Doormat.
1) besides the doormat at the bottom, I see a "doormat" just above the section:
"The Plone® Open Source CMS/WCM is © 2000-2011 by the Plone Foundation and friends. Distributed under the GNU GPL license.".
How to remove that on all pages?
2) I happily brand Plone, but I would do it in the doormat - how to remove the "The Plone® Open Source CMS/WCM..." section on all pages?
3) Also I would like to remove "Powered by Plone & Python" (with links) section.
4) How to move the Contact link just a long side the Login link at top.
Thanks.
Nikolaj G.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您所说的这些“门垫”包含在视图中。您可以通过导航至 @@manage-viewlets 查看如何在您的网站上设置 viewlet。从这里您可以重新排序或隐藏您不想显示的视图。
或者
更好的方法是创建一个主题产品,然后您可以使用profiles/default/viewlets.xml 中的viewlets.xml 来隐藏不需要的viewlet。您还可以使用 z3c.jbot 覆盖您想要更改的视图(例如通过登录添加联系链接)。
以下是一些包含有关使用 viewlets.xml 和 z3c.jbot 的信息的链接。
z3c.jbot (来自 pypy)
viewlets.xml (来自 plone. org 文档)
希望这对您有帮助。
these "doormats" that you're speaking about are contained in viewlets. You can take a look at how the viewlets are set up on your site by navigating to @@manage-viewlets. From here you can reorder or hide the viewlets you don't want to show.
OR
A better approach would be to create a theme product, and then you can use the viewlets.xml in profiles/default/viewlets.xml to hide the viewlets you don't need. You can also use z3c.jbot to override the viewlets that you'd like to change (like adding the contact link by Login).
Here are some links with information on using the viewlets.xml and z3c.jbot.
z3c.jbot (from pypy)
viewlets.xml (from plone.org documentation)
Hopefully this is helpful for you.