Drupal Block Region in Node Template

Written by

in

If you want to display a block region in a specific node template, simply add the following:

<?php
$myregion = block_get_blocks_by_region('myregion');
print render($myregion);
?>

 

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *