add block anywhere in drupal


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

Add block in anywhere in the content, node in drupal


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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.