FAQ_Ask

This module is an add-on to the FAQ module that allows users with the 'ask question' permission to create a question which will be queued for an 'expert' to answer.

For more about why this module exists, please read "Ask the Expert" or Advice Column.

Viewing of the completed question and answer pair is done by the FAQ module.

Installation

Normal module installation applies.

Settings

In order for this module to support multiple experts, it requires that the FAQ module be set to "Use Categories."

The settings are on a new tab in the FAQ Settings page. One selects the roles to be considered experts; then one is given a choice of users within those roles to associate with the FAQ categories. The expert role(s) need to be given the "answer question" and "edit faq" permissions.

Note: until one or more experts are set up, the module does almost nothing except generate a few warning messages.

Menus

The module creates a menu item for "Ask a question" (see "Usage Notes" below). There is an abbreviated version of the FAQ form without an answer field. The category choice is not an actual taxonomy selection, but it looks the same. The node is created without the 'published' attribute.

Blocks

There is a block that will show the unanswered questions to the 'expert' (generally, this requires a separate role). The user who created the question is also allowed to edit it until it's answered. (After that, standard FAQ permissions take over.)

If one is an expert with unanswered questions, those will be shown first. After those have been answered, if the user has asked unaswered questions, those will be shown. Finally, users with "administer nodes" and/or "administer faq" will see all unanswered questions.

Notifications

If notification of question creation is needed, use the Subscriptions module set for the appropriate terms (FAQ categories).

Usage Notes

While this module does supply an "ask a question" menu entry, I typically disable it and use an FAQ "shortcut" instead (that is, "Ask Nancy" points to "http://www.myexample.com/faq/999").

The other shortcut I use is to set up the taxonomy term description something like the following. This puts an "ask" link right at the top of the FAQ page.

<a href="http://nanwich.info" target="_blank">Nancy</a> is a South carolina-based web site builder. She generally uses the content management system (CMS) know as Drupal. She welcomes your questions about web sites and Drupal.<br/>Click here to <a href="/faq_ask/137"><b>ask her a question</b></a>. She will answer as soon as possible.

Since FAQ now supports the Taxonomy Image module, I also create a picture of the expert to go with this term. This, however, requires a bit of CSS tweaking and, as of this writing, a patch to TI. I will be happy to provide more details upon request.

Comments

So Confusing

Kind of confusing. setting up Vocabularies?

Could you have mnade this a little more difficult to understand?

Well...

This post wasn't really about setting up vocabularies. For more on that subject, take a look in the Cookbook section.

FAQ_Ask

Hello Nancy,

i love your FAQ_Ask module.
I Would like to see the date and username of question and of answer, too.
How can i write it out?

Best Regards,

Chrispooh

Issue Queue

I think I explained this in the module issue queue.

Adding an editor

Love the faq-ask module. Thanks for all the hard work you put into it! My problem is that I need to add the ability for people to ask questions in the Urdu language. There's a javascript editor which would work well for this. http://www.urduweb.org/blog/2005/03/23/ But, for the life of me, I can't figure out how to get the thing to input text into the faq_ask form.

I've tried putting the editor in a block in the 'content' area. The editor will put Urdu characters into a text area that I define, but it won't put them into the faq_ask form.

I even looked at modifying the module code, but realized that I haven't a clue what to do.

Any suggestions would be more than welcome. Thanks!

i got a error

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@testneb.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

why i got this error?

I don't know

But this site is currently under attack by an ineffective hacker. That's not even the correct contact address.