Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

FAQ Block

No security coverage
View on drupal.org

FAQ Block : FAQ Block provices the backend configuration block to add the list of commonly asked questions and answers about a specific topic. We can place the block from structure - block layout or from the layout builder.

How to override the template file

We can copy the default twig template file

templates/block/faq-block.html.twig

and place on the active theme.

Available variables on the twig template:

- faqs: array of faq related accordion details.
- use {{ faq.question }} and faq.answer['value'] inside the loop
- use {{ faqs_data['color'] }} for the toggle icon color
- use faqs_data['section_title'] for the section title
- use faqs_data['section_description'] for the section description

Overriding style sheets to modify the design for the FAQ section

You can override the style sheet provided by this module or add your own custom css for the available elements

Support requests are taken on Drupal Answers with the faq_block tag. Ask a question! Documentation and frequently asked questions can be found here.

Support

Please post bug reports, feature requests and support requests to the FAQ Block module issue queue.

Demo

Installation and download

Installation with Composer:

composer require 'drupal/faq_block'

Download latest version

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Feb 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.1 Stable Feb 27, 2023
1.0.8 Stable Feb 19, 2023