drupal 编辑节点的附件字段
我有一个名为 Properties 的内容类型,用户可以创建内容类型 我的内容类型(属性)中有文件 cck 字段,现在我想将附件添加到或仅在特定属性的块或面板中编辑附件字段。
当用户尝试编辑内容类型时,不显示所有字段。
我听说这在使用上下文的面板中是可能的。
提前致谢
I have a content type named Properties, users can create the content types
I have file cck field in the content type (properties), now I want to add the attachments to the or edit the attachments field only in a block or panel for the particular property.
Not showing all the fields when user try to edit the content type.
I have heard that this is possible in panels using contexts.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定我明白你在这里想要什么,但听起来你想根据角色和显示更改字段的可见性/可编辑性。
要根据角色更改可见性和/或可编辑性,请使用类似的内容
http://drupal.org/project/field_permissions
要根据显示更改它,请使用“display内容类型编辑表单上的“字段”选项卡。
Not sure I understand what you want here, but it sounds like you want to change the visibility/editability of fields based on role and display.
To change the visibility and/or editibility based on role, use something like this
http://drupal.org/project/field_permissions
To change it based on display, use the "display fields" tab on the content type edit form.
我认为这就是您正在寻找的
http://drupal.org/project/editablefields
I think this is what you are looking for
http://drupal.org/project/editablefields