/[drupal]/contributions/modules/question/README.txt
ViewVC logotype

Contents of /contributions/modules/question/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Fri Oct 24 04:19:56 2008 UTC (13 months ago) by codepoet
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
Changes since 1.3: +10 -3 lines
File MIME type: text/plain
Updating HEAD
1 ------------------------------------------------------------------------------
2 Question Module for Drupal
3 maintained by: Adam Knight | codepoet | adam (att) hopelessgeek (d0t) com
4 created by: Jeff Robbins | jjeff | robbins (att) jjeff (d0t) com
5 ------------------------------------------------------------------------------
6
7 This module was developed as a solution for a site that wanted to post "question of the week" type nodes where users could submit questions and one would be selected and answered each week.
8
9 However, it was developed to be slightly more generic allowing for use anywhere question/answer -type nodes are needed. A common use might be frequently asked question (FAQ) listings or knowledge base repositories.
10
11 Here are the important things to know about question.module:
12
13 Question.module basically has two parts:
14
15 1) The question form, which gets submitted into a queue viewable by administrators.
16
17 2) The question node-type, which can be created either manually (from 'node/add/question') or by selecting a question from the queue. This way the question and user information gets automatically populated into the question node where it can be edited (if necessary) and an answer can be entered.
18
19 The question form can be brought into a node by either:
20 - Creating a php node containing the following line:
21 <?php question_print_form() ?>
22 - Using macrotags.module and simply adding the tag:
23 [qform]
24 - Or just linking to 'www.example.com/question' (or 'www.example.com/?q=question')
25
26 Submitted questions will end up in the question queue at 'admin/question'
27
28 * Alternative
29
30 This is just one solution. With the advent of Views and CCK, you can "roll your own" question queue system rather easily.
31
32 Create a CCK node with two text areas: Question and Answer. Let anyone create this node type, but set it so that it goes right to being unpublished. Create a view that lists unpublished question nodes and give admins the ability to see this. Then the admin can either delete the node or answer the question and publish the node.
33
34 I've often thought about moving to such a system, but I have too much content invested in this module to do it, and this module does the job easily enough. :)

  ViewVC Help
Powered by ViewVC 1.1.2