Dominique De Cooman
Published on Dominique De Cooman (https://dominiquedecooman.com)

Home > Drupal5 New region

Dominique De Cooman
Saturday, October 18, 2008 - 23:01

Put this in your template.php (if not allready in it) and add new regions.

<?php
function name_of_your_theme_regions() {
  return array(
       'left' => t('left sidebar'),
       'right' => t('right sidebar'),
       'content' => t('content'),
       'header' => t('header'),
       'footer' => t('footer')
  );
}
?>


Source URL: https://dominiquedecooman.com/blog/drupal5-new-region