O'Reilly logo

Mastering Drupal 8 Views by Gregg Marshall

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

Expandable accordions hide and show content

On Lynn's existing Drupal 6 site, Jim had put up a Frequently Asked Questions (FAQ) section, where Lynn had put in a lot of information about Blue Springs, the surrounding area, and activities that potential homeowners might be interested in.

As the list got longer, Jim enabled a feature in the FAQ module that turned the questions and answers into expandable questions. When a visitor first visited the page, all that showed were the questions. Once a visitor clicked on a question, the area between that question and the next one would expand and the answer was displayed.

Lynn had learned they were referred to as accordions. When looking for the carousel module, she noticed a module called Views Accordion ...

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