How to reproduce ?

In a subtheme create a region with :

regions[header-right] = Header Right

  1. Run drush theme_debug vset 1.
  2. Put a block in the region.
  3. Flush all caches
  4. Reload page twice
  5. the template suggestion is region--header-right.tpl.php
  6. Create a tpl.php file as suggested and place it into templates directory.
  7. flush caches again

How to Fix ?

Remove the hyphen in the region name, update template file name accordingly. Now it works.

Comments

jmary created an issue. See original summary.

jmary’s picture

Title: If regions names with has hyphen ("-") the associated template file cannot be used » If regions names has hyphen ("-") in it, the associated template file cannot be used