If your drupal site do not call for region--[region].tpl.php file, then check your template.php file and find preprocess_region function:
/**
* Override or insert variables into the region templates.
*
* @param $variables
* An array of variables to pass to the theme template.
* @param $hook
* The name of the template being rendered ("region" in this case.)
*/
function YOURTHEME_preprocess_region(&$variables, $hook) {
// add theme suggestions for blockgroup region
if (strpos($variables['region'],'blockgroup') === 0) {
$region_name = str_replace(array(' ','-'), '_', $variables['region']);
$variables['theme_hook_suggestions'][] = 'region__'.$region_name;
}
}
* This function should be there. If not, just place it.
In your region--footer.tpl.php file:
/**
* @file
* theme implementation to display a region footer
* variables:
* - $content: The content for this region, typically blocks.
* - $classes: String of classes that can be used to style contextually through CSS
* - $region: The name of the region variable as defined in the theme's .info file.
* - $classes_array: Array of html class attribute values. It is flattened into a string within the variable $classes.
* - $is_admin: Flags true when the current user is an administrator.
* - $is_front: Flags true when presented in the front page.
* - $logged_in: Flags true when the current user is a logged-in member.
*/
?>
<?php if ($content): ?>
<div class="your_region_class">
<?php print $content; ?>
</div><!-- /.region -->
<?php endif; ?>
* read comments