Drupal Placing the contents of a block in any location

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <?php
  2. $block = module_invoke('module_name', 'block', 'view', 'block_delta');
  3. print $block['content'];
  4. ?>

URL: http://drupal.org/node/26502

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.