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).

CommentFileSizeAuthor
#1 use-core-block-variable-1413494.patch568 byteswebkenny
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webkenny’s picture

Thanks for this report. I believe this patch fixes this issue. Please test.

webkenny’s picture

Status: Active » Needs review

Flagging for the testbot.

webkenny’s picture

Status: Needs review » Fixed

This 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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 23f0e05 on master, 7.x-2.x:
    Issue [#1413494] by paul2: Changed custom id attribute on block wrapper...
  • Commit ecc07b3 on master, 7.x-2.x by webkenny:
    Issue [#1413494] by paul2: Changed custom id attribute on block wrapper...