在相同的内容类型中添加相同的现有字段两次(多次)
我想在同一内容类型中多次重复使用同一现有字段。
假设 ContentType1
有一个字段 Phone-Number
。
现在,我想在 ContentType2 中使用 ContentType1 中的现有字段 Phone-Number
,但使用三次。假设我想在 ContentType2 中包含三个人的联系号码。所以我想使用现有字段Phone-Number
三次。
它不允许,因为一旦我添加现有字段,它下次就不会出现。我尝试导出和导入。但这也不起作用
I want to reuse the same existing field more than once within the same content type.
Assume that ContentType1
has a field Phone-Number
.
Now I want to use the existing field Phone-Number
from ContentType1 within ContentType2, but three times. Assume that I want to have contact numbers of three people in the ContentType2. So I want to use the existing field Phone-Number
thrice.
It doesn't allow, as once I add the existing field it doesn't appear next time. I tried to export and import. But that didn't work either
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
内容类型只能将特定字段添加到其中一次 - 这是设计使然,如果不对模块进行严重的黑客攻击,则无法更改。您可以更改字段的设置以允许多个值,我认为这与您将得到的最接近。
A content type can only have a particular field added to it once - this is by design and cannot be changed without some serious hacking of the module. You can change the field's settings to allow for multiple values, I think this is as close as you're going to get though.
是的,您不能在同一内容类型中多次添加相同的现有字段。在每种内容类型中,每个现有字段只能使用一次。
Yes you cannot add the same existing field multiple time in same content type. You can Use the every existing field only once in every content type.