Is there a way to place blocks into the main content area on pages? Thanks.

Comments

Deepika.chavan’s picture

Hi,
I created 'content-top' and 'content-bottom' region on my local site.
Added following code in 'bluemasters.info' file.

regions[content_top] = content top
regions[content_bottom] = content bottom

Added following code in page.tpl.php file after <?php print $tabs;?> line :

    	<?php print $content_top ? $content_top : NULL; ?>  
        <?php print $content;?> 
    	<?php print $content_bottom ? $content_bottom : NULL; ?>  

Enable a block in 'content top' or 'content bottom' region.
Please clear cached data here- admin/settings/performance
HTH!!

Rgrds,
Deepika Chavan.

pooling55’s picture

Thanks so much for your help!