Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fusion 7.x-2.x is still generating its own ID attribute for a block's containing <div>
element in block.tpl.php
, but Drupal provides a guaranteed unique ID for each block element in the $block_html_id
variable. This variable also has underscores in the module name replaced with hyphens, which Fusion doesn't take into account, causing problems with modules which use drupal_html_id()
to identify the block (such as Block Refresh).
Comment | File | Size | Author |
---|---|---|---|
#1 | use-core-block-variable-1413494.patch | 568 bytes | webkenny |
Comments
Comment #1
webkenny CreditAttribution: webkenny commentedThanks for this report. I believe this patch fixes this issue. Please test.
Comment #2
webkenny CreditAttribution: webkenny commentedFlagging for the testbot.
Comment #3
webkenny CreditAttribution: webkenny commentedThis is a small enough change that I felt comfortable committing it without a test. I think showing activity to this theme is tantamount to worrying about a single word change. I also had to commit it twice, sadly, because my silly Git chops were rusty and I didn't properly identify myself the first time.
Committed to 7.x-2.x-dev