title: How to insert a block into a node or template in Drupal 7?
body: <p>In Drupal 6, it was easy to insert a block into a template with the following code:</p>
  
  <pre><code>$block = module_invoke('views', 'block', 'view', 'block_name');
  print $block['content'];
  </code></pre>
  
  <p>However, using the same instructions in Drupal 7 does not seem to work. I have looked around and cannot find the new method.</p>
  
  <p>Does Drupal 7 have a routine that can allow for programmatically inserting a block into a template or node?</p>