在不同节点类型中使用字段时,哪些 CCK 字段属性是共享的?
在节点类型之间使用 CCK 字段类型时,哪些 CCK 字段属性是共享的?我问这个问题是因为我想将创建的字段“日期”与其他节点类型重复使用。当我更改日期符号以仅输入年份时,突然我注意到只有年份与我将日期字段设置为的第一个节点类型一起显示。
那么,节点类型之间共享哪些字段信息,以及每个节点类型可以配置哪些信息?
在网上搜索,我已经找到了CCK字段模块的数据模型图,但不够详细。 CCK 字段的 UI 可以使用这些额外的信息,以便用户知道发布表单时会受到什么影响。
Which CCK field properties are shared when using a CCK field-type between node-types? I Ask this question because I wanted to re-use a created field 'date' with another node type. When I altered the date notation to input only the year, suddenly I noticed that only the year was showing with the first node-type I set the Date-field to also.
So, what field information is shared between node-types, and what information can be configured per node-type?
Searching the net, I already found Data model-diagrams of the CCK fields module, but they are not detailed enough. The UI of the CCK fields can use this extra bit of information so the user knows what is affected when posting the form.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这取决于您正在处理的字段类型,但信息已经在 UI 中。只需仔细查看字段配置表单 - “全局”(= 用于所有字段实例)设置包含在一个字段集中,而特定实例包含在另一个字段集中。这在字段集描述中注明(大多数主题中的小字体、浅灰色文本)。
This depends on what field type you are dealing with, but the information is already in the UI. Just take a closer look at the fields configuration forms - the 'global' (= used for all field instances) settings are contained in one fieldset, and the instance specific in another. This is noted in the fieldsets descriptions (small print, light gray text in most themes).