Drupal: Associating grouping more than one CCK field

家住魔仙堡 提交于 2019-12-13 07:09:55

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/2194772/drupal-associating-grouping-more-than-one-cck-field

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!