Printing a Block in a tpl.php

Public

This will work on all blocks regardless of which module it comes from. You just need to change the module name where it says 'views': Snippet from https://drupal.org/node/1902136#comment-8549401

Get raw version
php
  1. <?php
  2. $block = block_load('views', 'block_name');
  3. print render(_block_get_renderable_array(_block_render_blocks(array($block))));
  4. ?>