Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从特定视图的对象菜单中删除“添加新...”菜单项的最简单方法是什么(在视图中使用代码)?
我以前使用过 IConstrainTypes,但它似乎有点奇怪,因为它存储了请求之间的约束。
您可以使用这样的重氮规则很容易地做到这一点:
<drop css:content="#plone-contentmenu-factories" css:if-content=".template-your_view" />