Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm a novice at dealing with themes here but will give it a shot. I would like to no how I would go about adding more regions to display in the front page. To make it more easier can i just find out how to show the content region for the front page. It currently skips the front page for some reason. Thank you in advance.
Comments
Comment #1
komal.savla CreditAttribution: komal.savla commentedHi,
To add the region on the front page, first define the region in the .info file like the following:
Then add the following code in the page--front.tpl.php to print the region :
and clear the cache.
if you want to display the region on both front page as well as on all the other pages then add the above code in both page--front.tpl.php and page.tpl.php.
Thanks,
Komal
Comment #2
gtsopour CreditAttribution: gtsopour commentedI think that Komal's comment answers to this issue/question. So I changed the issue status to fixed. Thanks Komal (komal.savla)