欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

drupal 几个问答模块比较

shiping1 的头像

问题的比较与解答模块

最后更新2013年1月11日。创建者tanoshimi于2010年4月22日。
最后由drupalshrekAlessMascherpajcisiochipcleary登录编辑此页

注:更多的最新审查,可以发现这里

有很多方法使用Drupal来建立问题/答案功能。

提出的问题/答案列表

如果你的要求只是提出问题/答案格式的内容,那么你可以考虑使用次数CCK在Drupal 5/6,或使用内置的域API,在Drupal 7。对于这个问题创建单独的文本字段,并回答元素,这些附加到相应的节点类型。然后再决定该问题及答案字段应该如何出现在不同的上下文(例如,在传情视图中,您可以只显示问题,有一个“点击这里查看答案链接”,而整个节点视图同时显示问题和答案领域)。

或者,您也可以检查出常见问题模块,创建一个新的节点类型,并附带了几个预格式化列表,以目前的问题和答案。

创建一个问答工作流程

如果你想创建一个工作流程,使用户可以提出问题,和其他用户(或网站管理员)可以回答这些问题,并选择性地发布响应,那么有一些可用模块。这些变化在他们的方法,复杂性,以及一些功能,相比于下表:

特点问题FAQ_Ask答案主题/回答问题/答案
Drupal的相关
Drupal的7.x版 -dev的
的Drupal 6.x的
依赖关系常见问题模块,Helpers_database模块
  • Drupal的6:特点,Nodereference计数,节点参考网址的Widget,CCK,StrongARM的,点击连接,浏览,投票的API,投票上/下,混沌工具套件
  • Drupal 7的:实体查看附件,功能,表,参考文献,Nodereference计数,节点参考网址的Widget,StrongARM的,浏览次数
CCK和CTools在D6版本。VotingAPI /浏览次数集成。
文档手册手册  手册
建筑保存在单独的数据库表的问题。
保存为节点问题/答案对。
另存为(未发表)常见问题节点的问题。
另存为(出版)常见问题节点问题/答案对。
问题和答案是节点。答案附件通过EVA模块质疑节点。额外的模块来选择最佳答案,并与用户的集成点。 问题的节点,答案,注释,CCK字段来存储所选择的答案。

寻找支持?访问Drupal.org论坛,或者加入#Drupal的支持IRC

评论

我觉得这个模块也可以包含在比较:

http://drupal.org/project/question_answer



Community Documentation

Comparison of Question and Answer modules

Last updated January 11, 2013. Created by tanoshimi on April 22, 2010.
Edited by drupalshrek, AlessMascherpa, jcisio, chipcleary. Log in to edit this page.

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 usingViews 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:

FeatureQuestionFAQ_AskAnswersTopic / AnswersQuestion/Answer
Drupal-related
Drupal 7.x -dev
Drupal 6.x
DependenciesNoneFAQ module,Helpers_databasemodule
  • 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
NoneCCK and CTools in D6 version. VotingAPI/Views integration.
DocumentationHandbookHandbook  Handbook
ArchitectureQuestions 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.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.

Comments

I think this module should be included in the comparison:

http://drupal.org/project/question_answer

I've just added it.

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

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

http://drupal.org/project/faqfield

普通分类: