By papun on
I have created a new region by adding regions[footer] = Footer this line in the .info file of my theme but it is not showing in the site admin panel.
the drupal version i m using is 6.6
please hep
Thanks in advance
I have created a new region by adding regions[footer] = Footer this line in the .info file of my theme but it is not showing in the site admin panel.
the drupal version i m using is 6.6
please hep
Thanks in advance
Comments
You have to add it in the
You have to add it in the page.tpl.php file too. Like this:
Tnanx but that is not what i want
I have to create a new region.
so i added the line in .info file
i can add the above code when i can see it in the admin panel and i add something into it then to show it in the user end i will use the above code
but the problem i am facing is that the region is not showing in the admin side i.e in admin/build/block
pls help
thats just weird, I have a
thats just weird, I have a smiliar problem, I can only get 3 of my 5 custom regions to show up in the admin/build/block... I am as frustrated as you so I cant help you :(
Code needed first
You have to have the code in your page.tpl.php for it to show up in admin/build/block. Without the code, Drupal cannot know where this region is supposed to appear, so will not show it.
And don't forget to clear the cache (admin/settings/performance) after making changes to the .info file.
______________________________________________________________________________________________________
mybesinformatik.com - Drupal website development
______________________________________________________________________________________________________
simple search...
http://drupal.org/node/29139
exmple of a function you'll need to add to your template.php file.
Drupal 5 vs Drupal 6 conventions
That is perfect for Drupal 5, but the OP's request is for Drupal 6 - see http://drupal.org/node/337173 as a starting point.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.