Support Block Group module

Created on 5 February 2023, almost 2 years ago
Updated 1 June 2024, 6 months ago

Problem/Motivation

The Block Group module creates blocks that contain regions for other blocks. The block group behaves like any other block, thus also shows the collapsiblock settings in it. However, the collapsible behavior of the block group does not collapse all of its content/region. It only collapses the first containing block, the other containing blocks stay visible.

Steps to reproduce

Install Block Group latest version (2.0.0.)
Create a new block group, add some blocks to its region and add the block group block to another region, e.g. the sidebar region.
The block group with its containing blocks now show up in the sidebar.
The settings of the block group shows collapsiblock settings. Enable 'collapsible, collapsed all the time'.
The block group in collapsed state hides the first containing block, but the rest of the blocks remain visible.

πŸ’¬ Support request
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Yuri

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Yuri
  • πŸ‡¦πŸ‡ΊAustralia darvanen Sydney, Australia

    It sounds very much to me like these modules are not very compatible with each other. I am not familiar with Block Group but Collapsiblock certainly wasn't built with block nesting in mind.

    You are welcome to try and find a way to make them compatible but if it disrupts the primary purpose of this module or narrows future options too much I will be unable to commit it.

    As it is, this is not a bug because this module does not advertise compatibility with Block Group.

  • πŸ‡¦πŸ‡ΊAustralia darvanen Sydney, Australia

    Now that I've had more of a think about it this is quite similar to πŸ’¬ Support facets_block module Active .

    The issue will likely be that the Block Group module does not enclose the content area of the block in a single div. You might try overriding the template used by that module and adding a content wrapper div and see if that helps.

    Happy to discuss here. If there is no activity for a month or more I may close the issue :)

  • Assigned to bobi-mel
  • Issue was unassigned.
  • Status changed to Needs review 9 months ago
  • πŸ‡ΊπŸ‡¦Ukraine bobi-mel

    Hi @darvanen
    I have checked this issue and tried to reproduce it. I added the test block group in different sections (Content and Sidebar), also in the block group I added different blocks (menu, custom block).
    During the test, I found out the following:
    - The Collapsiblock block wrapper was successfully added to the block group ;
    - All blocks in the block group were hidden if clicked by the group title;
    - Collapsing settings correctly works for each of the blocks in the group;
    I think that the Collapsiblock module is fully compatible with the Block Group module and the issue needs to be closed as fixed.

  • πŸ‡¦πŸ‡ΊAustralia darvanen Sydney, Australia

    Thanks @bobi-mel appreciate you checking this out.

    To the other 3 followers of this issue: here is your chance to expand upon the problem if you disagree with @bobi-mel's review. If there has been no change after two weeks I will close this issue as "works as designed" (because that is more accurate)

  • Status changed to Closed: works as designed 6 months ago
  • πŸ‡¦πŸ‡ΊAustralia darvanen Sydney, Australia

    Closing as "works as designed" per previous comment. Feel free to re-open if you have new information to share.

Production build 0.71.5 2024