One to many nodes in drupal
I am trying to create the following site in Drupal 7, with no success:
- Front page is listing news topics (e.g. election 2012, earthquake in some town). For this I have created content type 'news topic'.
- when I click on the news topic, I can see th开发者_运维知识库at it lists following sections: article, video, photo gallery, interview. Eeach of these sections is a different content type.
How can I make one->many (e.g. one news topic has many galleries) relation in Drupal 7? How can I list all dependent content types on 'news topic' page? Would it be better if I used Drupal 6?
How about using the 'References' module? You would then first create a couple of galleries. When that's done, you would create the news topic and reference those two galleries from the news topic node.
I haven't tried it myself on Drupal 7, but it works well on Drupal 6.
http://drupal.org/project/references
精彩评论