On this page
Installation & Configuration
Last updated on
3 November 2024
This documentation needs work. See "Help improve this page" in the sidebar.
The Collapsiblock module provides the functionality to make blocks collapsible, so you can show/hide content by clicking on the title of the block. This is a great way to incorporate accordion style effect for a full node/page or in a sidebar region of your site.
Configuration
- Navigate to Administration > Extend and enable the module.
- Navigate to Administration > Structure > Block Layout and place a block.
- Now when placing blocks there is an additional fieldset on the configuration page. Choose the "Block collapse behavior". Save block.
- If you want to set global settings for collapsiblock, navigate to Administration > Configuration > User Interface > Collapsiblock.
The global settings allow you to:
- Choose a default action for all blocks.
- Choose whether to save the last state of blocks in a cookie for each user.
- Choose whether active links are kept open (useful for menu blocks).
Help improve this page
Page status: Needs work
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion
Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.