Hi Experts,

I am having a 'Yahoo Answer' type implementation which has 2 content types; One for Question and One for Answers.
When a person submits an answer for a question, it goes into the moderation queue [ Basic Moderation]

The problem now is, when the admin views the answer in the moderation queue; he will have no clue to which question the answer has come. [Since answer is a different content type, and was already posted earlier]

I wanted to know how I can link these two so that the admin will be able to see The question and the answer [the one in the moderation queue] together when he is asked to moderate.

The implementation is present at
http://ask-and-answer.computerkid.co.in/

Kindly help me out.

Thanks and Regards,
Vinu

Comments

matkeane’s picture

HI,

If you're using CCK, then you could add a 'node reference' field to your answer content-type, which would store the node id of your question. That way the moderator could see a link to the question to which the the answer corresponds, and you could easily display a list of all answers to a question.

There are other modules that can create relationships between nodes, like this one: http://drupal.org/project/relativity, but the CCK node reference solution is a simple solution.

vinayakg’s picture

thanks for the answer.I will try this out.