Ivan Zugec

Drupal Consultant

Using FAQ module

There are two options when you want to create a FAQ page for your site. One is to hand code an HTML page which can be a pain or you could use the FAQ module and save yourself the nightmare of manually adding in HTML. The module creates a FAQ content type and a nice FAQ layout page.

Install the module

Go to http://drupal.org/project/faq and download the module and place it in sites/all/modules.

Then enable the module at Administer >> Site building >> Modules.

How to use FAQ module

We want the questions to be categorised so let’s create a vocabulary for the FAQ. Go to Administer >> Content management >> Taxonomy and click on add vocabulary. Enter in the vocabulary name and select FAQ from the content types.

fig1_0.jpg

Now you’ll be able to add some questions and answers. To do this go to Administer >> Content management >> Create content and add some questions.

fig2_0.jpg

Enter in some data then go to /faq and you’ll see your new FAQ page.

fig3_0.jpg

One thing you’ll notice is that in the answers section the question is a link which goes to the node page.

This is standard Drupal stuff, but if you don’t want the question to be a link this can be changed.

Go to Administer >> Site configuration >> Frequently Asked Questions. Click on the Questions tab and scroll to the bottom and tick the "Disable question links to nodes" checkbox and hit save configuration.

fig4_0.jpg

While we are still on the FAQ settings page scroll to the top and click on the Categories tab and tick the "Categorize questions" checkbox.

fig5_0.jpg

Now if you go to your FAQ page (/faq) the questions should be categorised.

fig6.jpg

Last but not least, you’ll have to give permission for anonymous, authenticated users to access the FAQ page. To do this go to Administer >> User management >> Permissions and scroll to FAQ module and tick view faq page for anonymous and authenticated users.

That’s all whats required in creating a FAQ page the Drupal way.

About the author: Ivan Zugec
Ivan Zugec's picture

Ivan is a Sydney Australia based Drupal Developer with over 5 years experience.

Follow:

Comments

Anonymous's picture

Submitted by Anonymous on

I'm assuming text links can be created in either the question or answer box, correct?

This will be useful. Thank you!

ivan's picture

Submitted by ivan on

Of course just make sure you have your input formats setup correctly and your good to go ;)

Craig's picture

Submitted by Craig on

What does the FAQ module offer that could not be created / configured through Views and CCK? The reason I ask is that I like to use fewer modules and stick to modules I'm sure will be upgraded with Drupal.

ivan's picture

Submitted by ivan on

I understand where your coming from, but i reckon the best thing about this module is the look and feel of the actual faq page (/faq). You don't have to code up a custom page to display the faq nodes.

Anonymous's picture

Submitted by Anonymous on

... that this module has the potential to double-up as a pretty good business directory. Have you thought about pursuing that?

ivan's picture

Submitted by ivan on

But the module has "FAQ" branding all over it. Like the /faq page.

Anonymous's picture

Submitted by Anonymous on

Thanks for this great module. IT save my lot of pain

Add new comment