I am trying to define some regions for blocks.

I do not find the THEMENAME_regions() function that ive modified in other themes,
and that all the documentation says i should work with.

Thanks
Olav

Comments

Olav007’s picture

Title: How to define regions fo blocks » How to define regions for blocks
spython’s picture

just add the following code to template.php, then add regions as you want

 function aberdeen_regions() {
  return array(
       'left' => t('left sidebar'),
       'right' => t('right sidebar'),
       'content' => t('content'),
       'header' => t('header'),
       'footer' => t('footer')
  );
}
spython’s picture

Status: Active » Closed (fixed)