" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi
Then following are the steps demonstrate how to create a new block region in Drupal 7.
Open up your theme’s .info file and add the following line:
regions[new_region] = New Region
Now go to the your site url/admin/structure/block and select which block you want to show in your newly create region, and save the your choice.
Then you’ll need to print out your new region in your page.tpl.php file which goes something like this now:
<?php if ($page['new_region']): ?>
<?php print render($page['new_region']); ?>
<?php endif; ?>
Mail (will not be published) (required)
Enter Captcha Code *
× 1 = five
Burn Ignorance is a knowledge initiative by Mindfire Solutions
Subscribe to our mailing list to get the updates to your email inbox...