Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

Views Accordion Foundation module provides a display style plugin for the Views module. It will take the results and display them as a ZURB Foundation accordion, using the first field as the header for the accordion rows.

SPECIAL THANKS TO Manuel Garcia - https://www.drupal.org/u/manuel-garcia who created the views_accordion (https://www.drupal.org/project/views_accordion) module which this module was inspired by.

REQUIREMENTS

  • This module requires NO modules outside of Drupal core.
  • This module requires ZURB Foundation Core + Accordion to be available.
  • The views_accordion module, which this module is based on is also NOT required, because this module was created separately due to too less similarities.

INSTALLATION

CONFIGURATION

1. Navigate to Administration > Extend and enable the module.
2. Navigate to Administration > Structure > Views and create or edit a view.
3. Choose Accordion (ZURB Foundation) in the Style dialog within your view,
   which will prompt you to configure the display settings.

Your view must meet the following requirements:

  • Row style must be set to Fields.
  • Provide at least two fields to show.

Please note: The first field WILL be used as the header for each accordion section, all others will be displayed when the header is clicked. The module creates an accordion section per row of results from the view.

MAINTAINERS

Supporting organization: