O'Reilly logo

Learning Drupal 8 by Richard Jones, Nick Abbott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Improving FAQs

In Chapter 7, Advanced Content, you created a page view that represented the list of FAQs as simple clickable questions like this:

Improving FAQs

Now, we are now going to extend Drupal so that we can represent the FAQs page using the commonly used accordions pattern as shown here:

Improving FAQs

We are first going to download and install a contributed module called views_accordion, and then we'll edit the exiting FAQs view to use the new Views Display plugin that the module provides.

Downloading the Views Accordion module

Modules can be downloaded from the Drupal website ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required