Accordion Blocks screen shot

This module will provide accordion effect to your blocks. It works with any standard Drupal theme available out there on Drupal.org. This module provides admin interface to add more Accordion widgets and for each Accordion widget we can choose set of blocks as content.

Installation:
1. Copy the accordion blocks module to your modules directory
2. Install/Enable module.

Drupal 8 Usage:
1. Create new Accordion Widget block through Structure > Block Layout >
Custom Block Library > Add Custom Block > Accordion Block
2. Provide Title
3. Select the Blocks you want to include them in Accordion Blocks.
4. If you don't find the block that you require, add new block and select the block here.
5. Save the Accordion Block.
6. Once the Accordion Block is saved, it is available to place on the Block Layout. Navigate to Block Layout and place the Accordion Block in the region you want to put.
7. You can edit, delete these widget setting by navigating to Structure > Block Layout > Custom Block Library

Migrating Drupal 7 Accordion Blocks to Drupal 8:
The module provides migration Plugin to migrate Accordion blocks created in Drupal 7 to Drupal 8. Run below command to migrate using drush.

drush mi d7_accordion_blocks

The migration plugin is in Beta stage, some of the reference blocks (core blocks) might be missing. Please verify them after running migration.

Drupal 7 Usage:
1. Create new accordion blocks widget block through Admin > Structure > Accordion Block > Add Accordion Block
2. On the add Accordion Block form, give title.
3. Select Accordion Block contents are blocks, add what blocks you need to include as a accordion effect content.
4. If you don't find the block that you require, add new block and select the block here.
5. Save the Accordion Block.
6. Once Accordion Block is created, it will create a new block.
6. Visit Admin > Structure > Blocks and add your Accordion effect block to the region you wish.

This project has been sponsored by Azrisolutions

Supporting organizations: 

Project information

Downloads