Advertising sustains the DA. Ads are hidden for members. Join today

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

  1. Navigate to Administration > Extend and enable the module.
  2. Navigate to Administration > Structure > Block Layout and place a block.
  3. Now when placing blocks there is an additional fieldset on the configuration page. Choose the "Block collapse behavior". Save block.
  4. If you want to set global settings for collapsiblock, navigate to Administration > Configuration > User Interface > Collapsiblock.

The global settings allow you to:

  1. Choose a default action for all blocks.
  2. Choose whether to save the last state of blocks in a cookie for each user.
  3. Choose whether active links are kept open (useful for menu blocks).

Help improve this page

Page status: Needs work

You can: