Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 5

faq.module

Version

1.1.4.63.2.46 (checked in on 2008/04/28 at 17:01:24 by snpower)

Description

The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.

Functions

Namesort iconDescription
faq_accessImplementation of hook_access().
faq_blockImplementation of hook_block().
faq_categories_settings_formDefine the elements for the FAQ Settings page - categories tab.
faq_deleteDeletes an FAQ node from the database.
faq_formDefines the form where new questions and answers are written.
faq_general_settings_formDefine a form to edit the page header and descriptive text.
faq_general_settings_form_submitFunction saves the options set by the user in the FAQ Settings - General tab.
faq_get_child_categories_faqsHelper function for retrieving the sub-categories faqs.
faq_get_faq_listFormat the output for the faq_site_map() function.
faq_get_termsGet a list of terms associated with the FAQ nodes.
faq_helpImplementation of hook_help().
faq_highlights_blockCreate the HTML output for the Recent FAQs block.
faq_init_back_to_topHelper function to setup the "back to top" link.
faq_insertInserts the faq node question text into the 'faq_questions' table.
faq_link_alterImplementation of hook_link_alter().
faq_loadImplementation of hook_load().
faq_menuImplementation of hook_menu().
faq_nodeapiImplementation of hook_nodeapi().
faq_node_infoImplementation of hook_node_info().
faq_node_nameImplementation of hook_node_name().
faq_pageFunction to display the faq page.
faq_permImplementation of hook_perm().
faq_questions_settings_formDefine the elements for the FAQ Settings page - Questions tab.
faq_random_highlights_blockCreate the HTML output for the Random FAQs block.
faq_settings_pageGenerates the settings form for the FAQ module.
faq_site_map
faq_term_pathImplementation of hook_term_path().
faq_updateUpdates the faq node question text in the 'faq_questions' table.
faq_viewDisplay a FAQ node.
faq_view_answerHelper function to setup the faq answer.
faq_view_child_category_headersHelper function to setup the list of sub-categories for the header.
faq_weight_settings_formDefine the elements for the FAQ Settings page - weight tab.
faq_weight_settings_form_submitSave the options set by the user in the FAQ Settings - Weight tab.
theme_faq_answer_category_headerTheme function to format the sub-category header to display with the answers.
theme_faq_category_descriptionTheme function to format the category description.
theme_faq_category_headerTheme function for formatting the faq category headers.
theme_faq_category_hide_answerCreate the code of the FAQ page if set to show/hide the category-sorted answers when the question is clicked.
theme_faq_category_new_pageCreate the code of the FAQ page if set to show the answer in a new page when the category-sorted question is clicked.
theme_faq_category_questions_inlineCreate the code of the FAQ page if set to show/hide the category-sorted questions inline.
theme_faq_category_questions_topCreate the layout of the FAQ page if set to show the questions on top, all sorted by categories.
theme_faq_category_questions_top_answersCreate the layout of the answers if set to show the questions on top, all sorted by categories.
theme_faq_child_category_headerTheme function to format the sub-category header.
theme_faq_format_answerTheme function to format an answer.
theme_faq_format_questionTheme function to format a question.
theme_faq_hide_answerCreate the structure of the FAQ page if set to show/hide the answers when the question is clicked.
theme_faq_new_pageCreate the code of the FAQ page if set to show the answer in a new page.
theme_faq_questions_inlineCreate the code of the FAQ page if set to show the questions inline.
theme_faq_questions_topCreate the structure of the page, when the questions are to be shown on top.
_display_faq_by_categoryDisplay FAQ questions and answers filtered by category.
_get_indented_faq_termsReturn a HTML formatted list of terms indented according to the term depth.