Drupal: diplay block in node


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



Copy this code and paste it in your HTML
  1. // middle two terms stay the same, first and last depending on configure-link (hover!) in blocks menu
  2.  
  3. <?php
  4.  
  5. $block = module_invoke('views', 'block', 'view', 26);
  6. print $block['content'];
  7.  
  8. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.