By demon326@drupal.org on
Hello all, i'm searching how i can make new regeions inside drupal 6.. .
i know its in drupal 5 like this in template.php:
function ashladan_regions() {
return array(
'left' => t('left sidebar'),
'right' => t('right sidebar'),
'content' => t('content'),
'content_top' => t('content top'),
'content_bottom' => t('content bottom'),
'header' => t('header'),
'voet' => t('voet'),
'recent_nodes' => t('recent_nodes'),
'area6' => t('area6'),
'area7' => t('area7')
);
}
but how is it in 6??
Comments
.info file
It's in the info file. Saw example on this site of course, but no bookmark :o
It will be in the handbook - just need to search. Example:
You must include existing regions in there if you are going to add your own...
Regards
Jamie
skiFFie: home of the accessibility module
thx!!, thats all the info i
thx!!, thats all the info i needed...
trouble
Hi, I'm also trying to create a "pre-content" region using Drupal 6.0. I'm using the Garland theme. I tried copying the above into garland.info but there is still no "Pre-Content" region selection available for my blocks. What to do?
nevermind
I solved it. After uploading .info file, I had to go to admin>site building>themes for the system to recache the .info file. Otherwise it doesn't know it's been changed.
Working fine now :-)
thankful newbie
This exactly the informatioan I was searching for!
Thanks!