Part of the Views ecosystem · 280 projects
Views Accordion is a display style plugin for the Views module that renders view results as a jQuery accordion. It uses the first field as the accordion header and allows configuration of jQuery UI Accordion options directly within the Views interface. The module supports field grouping and relationships for creating more complex accordions.
Views Accordion provides a display style plugin for the Views module.
It will take the results and display them as a JQuery accordion, using the first field as the header for the accordion rows.
The module integrates the jQuery UI Accordion plugin as a views style plugin. You can configure the options provided by the jQuery UI plugin.
Features
- Works with field grouping and relationships.
- Option to use the field grouping headers as the headers for the accordion items. (yay!)
- Configure settings for jQuery UI Accordion through the views interface.
Using jQuery UI themes
The recommended approach is to use jqueryui_theme module, though it is only available for Drupal 7. See #2417233: Porting jQuery UI theme to Drupal 8
Note that the documentation and advanced help pages need some love, patches are welcome!
Development status and future plans
Drupal 7: Only bug fixes and the occasional feature if the community provides it.
Drupal 8: Is now stable and in maintenance mode only. Core now ships with jQuery UI 1.11 so only the options on this release are supported.
Drupal 9: Is now supported, on the 2.0.x branch and forward. jQuery UI was removed from core, so the module now requires the jQuery UI Accordion contrib.
How to help development of this module:
- Documenting this module, either providing patches for advanced help pages, or updating the documentation page
- Report any bugs you may find. Please search the issue queue before you do, and read this first to save us all time and headaches ;)
- Fill in feature requests that would be reasonable, include a patch if you can!
- Buy the author a coffee to keep him motivated.
Ask your assistant about Views Accordion
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- jquery_ui_accordion
- views Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Views ecosystem
Most installed first