By jfha73 on
Hello guys,
I don't know if this is the right forum to post this, but here it is:
How do I declare regions for a theme?
I just bought a theme from a third party and I want to add a couple of regions to it and I don't know how to do it.
Can anyone help?
Comments
See
See http://drupal.org/node/171205
Thanks, I did include the
Thanks,
I did include the name of the new regions I want to the info file, but how do I tell page.tpl.php where they go?
Thanks in advance.
In the .info file you have
In the .info file you have lines of the form
some_name will be in available in page.tpl.php as $some_name (so 'some_name' needs to be a valid PHP variable name). In general it is added to page.tpl.php something like
That helped a lot, thank you
That helped a lot, thank you very much