NOTE: A more up to date review can be found here.

There are many ways to create Question / Answer functionality using Drupal.

Presenting lists of questions/answers

If your requirement is only to present content in question/answer format then you could consider using Views and CCK in Drupal 5/6, or using the inbuilt Fields API in Drupal 7. Create separate text fields for the question and answer elements, and attach these to the appropriate node type. Then decide how the question and answer fields should appear in different contexts (for example, in teaser view you could show only the question, with a "Click here to see the answer link", whereas the full node view shows both question and answer fields).

Alternatively, you could check out the FAQ module, which creates a new node type and comes with several pre-formatted lists to present question and answers.

Creating a question answering workflow

If you want to create a workflow whereby users can ask a question, and other users (or site administrators) can answer those questions and optionally publish the response then there are a number of modules available. These vary in their approach, complexity, and number of features, as compared in the following table:

Feature Question FAQ_Ask Answers Topic / Answers Question/Answer
Drupal-related
Drupal 7.x -dev
Drupal 6.x
Dependencies None FAQ module, Helpers_database module
  • Drupal 6: Features, Nodereference Count, Node Reference URL Widget, CCK, Strongarm, Views attach, Views, Voting API, Vote Up/Down, Chaos tool suite
  • Drupal 7: Entity Views Attachment, Features, List, References, Nodereference Count, Node Reference URL Widget, Strongarm, Views
  • None CCK and CTools in D6 version. VotingAPI/Views integration.
    Documentation Handbook Handbook Handbook
    Architecture Questions saved in separate database table.
    Question/Answer pairs saved as nodes.
    Questions saved as (unpublished) FAQ nodes.
    Question/Answer pairs saved as (published) FAQ nodes.
    Questions and Answers are nodes. Attachment of answers to question node through EVA module. Extra module to select best answer and integration with user points.   Question as node, Answers as comments, CCK field to store the selected answer.

    Comments

    DIMSKK’s picture

    I think this module should be included in the comparison:

    http://drupal.org/project/question_answer

    jcisio’s picture

    I've just added it.

    DIMSKK’s picture

    Yeah....... I think this is better than the modules added previously... :)

    valderama’s picture

    this one is for d7 and supports accordion display of question answer pairs.

    http://drupal.org/project/faqfield

    --

    keine zeit für spielkonsolen mein leben ist jump n run!

    valderama.net