While noodling with the template file i found an error:
function grid_inspired_regions() {
return array(
'left_region' => t('left sidebar'),
'right_region' => t('right sidebar'),
'above_content_region' => t('content top'),
'above_content_region' => t('content bottom'),
'footer_menu' => t('footer menu'),
'footer_left' => t('footer left'),
'footer_mid' => t('footer mid'),
'footer_right' => t('footer right'),
);
}
'content top' and 'content bottom' are the same. It should be:
function grid_inspired_regions() {
return array(
'left_region' => t('left sidebar'),
'right_region' => t('right sidebar'),
'above_content_region' => t('content top'),
'below_content_region' => t('content bottom'),
'footer_menu' => t('footer menu'),
'footer_left' => t('footer left'),
'footer_mid' => t('footer mid'),
'footer_right' => t('footer right'),
);
}
This is my first foray into playing with PHP and submitting a correction to a Drupal project. Am I off? I attached my corrected file.
| Comment | File | Size | Author |
|---|---|---|---|
| template.php_.txt | 4.59 KB | Memeshift |
Comments
Comment #1
theneemies commentedThanks for the patch, I'll check in the changes soon.