Is there a way to place blocks into the main content area on pages? Thanks.
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 $tabs;?>
<?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.
Thanks so much for your help!
Comments
Comment #1
Deepika.chavan commentedHi,
I created 'content-top' and 'content-bottom' region on my local site.
Added following code in 'bluemasters.info' file.
Added following code in page.tpl.php file after
<?php print $tabs;?>line :Enable a block in 'content top' or 'content bottom' region.
Please clear cached data here- admin/settings/performance
HTH!!
Rgrds,
Deepika Chavan.
Comment #2
pooling55 commentedThanks so much for your help!