gpt4 book ai didi

plone - 是否可以在 Diazo
转载 作者:行者123 更新时间:2023-12-04 11:29:35 27 4
gpt4 key购买 nike

如果没有,我可以使用内联 XSLT 执行此操作吗?如果是这样,如何?

我认为这是不可能的,基于 search for "wildcard" in the Diazo docs但我想确保我没有遗漏一些东西。

这在允许 ZMI 通过无主题时特别方便。

例如。

<notheme if-path="manage*" />
<notheme if-path="portal*" />

最佳答案

我们尝试过使用collective.xdv 进行正则表达式匹配,但效果不佳——想想当有人创建名为“management”的页面时会发生什么。偶manage_*最终包括 manage_translations 页面,该页面应该是主题。我们目前的最佳实践是使用:

<rules css:if-content="#visual-portal-wrapper">

我希望我们能够找到一种方法将 X-Theme-Disabled response.setHeader 中的补丁修补到 ZMI 中的 DTML(和一些 ZPT)的相关位。

关于plone - 是否可以在 Diazo <notheme if-path=... 规则中指定通配符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6815281/

27 4 0

Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com