Closed (fixed)
Project:
Block Theme
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2011 at 12:47 UTC
Updated:
12 May 2014 at 09:15 UTC
Jump to comment: Most recent
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
Comment #1
amateescu commentedCommited to 7.x-1.x. Thanks!
http://drupalcode.org/project/blocktheme.git/commitdiff/a23d98b
Comment #2.0
(not verified) commented...