Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

collapsiblock

5,386 sites Security covered
View on drupal.org

Collapsiblock makes all individual Drupal blocks collapsible. To show/hide the content of a block just click on its title.

Optionally, the last state of blocks is saved in a cookie for each user.

This module is intended for site-builders who are new to Drupal with relatively simple needs. We will try to accomodate feature requests and options but will balance those with the need for a simple UI.

Example sites (?):

Version 4

4.x introduces some changes on 2.x/3.x that may break site themes/behaviours.

Most notably there is currently no choice of animation type, slide is the only one available, but it completely removes the jQuery dependency and uses a *much* smaller (therefore faster) library alexmcarthur/slide-element for the slide animation.

Also the menu active trail feature now works correctly so sites that accidentally have it turned on may see a small change in behaviour where menu blocks that contain a link to the current page are forced to remain open. You can go back to the behaviour your site expects by unchecking that setting.

A CDN is used for appraisal purposes but you should install the slide-element javascript library in your site if you decide to use it. Right click and save this link in your web root as /libraries/slide-element/index.umd.js.

The library is now bundled into the code as of 4.2.0, no need to download library files.

Version 2 (legacy)

Version 2 uses title_prefix and title_suffix to wrap each block title in a custom wrapper. As most contributed themes include these elements in their block templates, this version supports many more themes out-of-the-box and is thus much more suitable for Drupal beginners than prior versions.

This version also includes a few new features, such as the ability for blocks that are normally collapsed to be open when part of the active menu trail [edit: that particular functionality was broken, it is properly introduced in V4].

Version 1 (legacy)

The 1.x version uses a global per-theme setting to determine which jQuery selectors to use to target blocks, their titles and bodies. For this reason version 1 does not support as many themes out-of-the-box.

Credits:

  • QED42 sponsored development and port from 7.x-1.x to 8.x-1.x


Activity

Total releases
2
First release
May 2025
Latest release
10 months ago
Release cadence
0 days
Stability
100% stable

Releases

Version Type Release date
4.4.0 Stable May 24, 2025
4.3.2 Stable May 24, 2025