如何使用“相关项目”从 ATContent 页面链接到 Dexterity 页面?
绑定将相关项目添加到链接到 Dexterity 页面的 ATContent 页面。但是,在弹出窗口中(当从“分类”选项卡中选择“添加...”时)没有用于添加 myDexterity 类型内容的复选框选项。
我错过了什么吗?支持吗?有人有解决方法吗?
克隆人4.1.2 (4111) CMF 2.2.4 佐普 2.13.10 plone.app.dexterity 1.0.3
Tying to add a related item to an ATContent Page which links to a Dexterity page. However, in the popup-overlay (when selecting "Add..." from the "Categorization" tab) there is no checkbox option to add myDexterity type of content.
Am I missing something? is this supported? has anyone got a workaround?
Plone 4.1.2 (4111)
CMF 2.2.4
Zope 2.13.10
plone.app.dexterity 1.0.3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此行为有一个单独的包:
plone.app.referenceablebehavior
只需添加它到您的构建(
eggs
和zcml
变量,无需通过控制面板安装)。然后转到敏捷控制面板的“行为”选项卡中,然后添加“可参考”行为。请注意,只有新内容才会遵循该行为,已经创建的内容将不可引用。There's a separate package for this behaviour:
plone.app.referenceablebehavior
Just add it to your buildout (
eggs
andzcml
variables, no need to install it via control panel). Then go to your dexterity control panel, in the Behaviours tab, and add the "Referenceable" behaviour. Note that only new contents will honor that behaviour, those that have been already created won't be refereceable.