With 'green-block|Green' it doesn't use a template with file name 'block--blocktheme--green-block.tpl.php'

in blocktheme.module on line #322
$variables['theme_hook_suggestions'][] = 'block__blocktheme__' . $custom_block_theme;

replace it with:
$variables['theme_hook_suggestions'][] = 'block__blocktheme__' . str_replace('-', '_', $custom_block_theme);

Comments

amateescu’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

...

  • Commit a23d98b on 7.x-1.x, 8.x-1.x by amateescu:
    Issue #1259592 by fortis: Doesn't work with '-' in delta.