Drupal: Insert block


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

Inserts a block with the id of 26


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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.