In Drupal 6, it was easy to insert a block into a template with the following code:
$block = module_invoke(\'views\', \'block\', \'view\', \'block_name\'); print
In my search to include a block in a template, i came across this post.
As an addition, if you want to include a custom block (that you added through the block interface) you have to use (instead of block_load(); in drupal 7)
block_load();
$block = block_get_custom_block($bid); $content = $block['body'];