How to Create a new region in Drupal 7

Here is the list of operations to do:

1. Add ‘regions[your_new_region_name] = your_new_regon_friendlyname’ to the info file.

2. Add
.region-your_new_region_name {/*css snippets*/}

to your css theme main file.

3. Add

<?php
print render($page['copyright']);
?>

to your page.tpl.php file.

4. Clear all your cache by section Structure–>”Performance”

5. Insert a block in the region that will appear in the section: Blocks

 

~ di diegotech su gennaio 2, 2013.

Lascia un commento