Drupal:关联分组多个 CCK 字段
我有一个文章内容类型,其中包含链接到其他文章(相关文章)的节点引用 CCK 字段。
我需要为每个节点引用添加一个文本字段,允许管理员指定“为什么相关”。在 D6 中我该如何解决这个问题?
文章可以与其他文章相关,因此在引用相关文章的主文章中添加“为什么相关”是有意义的。
这是使用前面的文本区域类型,以便为用户提供用于重新排序的拖放 UI。
理想情况下,它应该类似于:
*相关文章 1
*为什么相关。
////
*相关文章 2
*为什么它相关 2。
//////
....
最后的努力是不要将它们关联起来,然后管理员只需确保排队即可。虽然用户体验不太好,但我想还是可行的。
I have an article content type with a node reference CCK field that links to other articles (related articles) .
I need to add a text field for each node reference that allows an admin to specify "why it's related". How do I go about this in D6?
Articles can be related with other articles so it makes sense to have the "why it's related" to go in the main article referencing the related articles.
This is using the text area type ahead so that the user will be given teh drag and drop UI for reordering.
Ideally it would be something like:
*related article 1
*Why it's related.
////
*related article 2
*why it's related 2.
//////
....
The last ditch effort is to not have them associated and then the admin just makes sure that the line up. Not nearly as great of a user experience, but workable I guess.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 CCK 3.x 附带的多组模块来执行此操作。请注意,目前还没有稳定的版本,但对于大多数用例来说都可以正常工作。
You can do this with CCK 3.x, using the Multigroup module that comes with it. Note that this doesn't have a stable release at this point, but will work fine for most use cases.