Posted By

kfiil on 04/11/11


drupal theme theming drupal6

Versions (?)

Drupal: Insert Block in region in code

 / Published in: PHP

How to set a block into region with code

  1. //This is for the file
  2. regions[comments] = Comment area on cases
  4. //This is for at preprocess file
  5. $vars['comments'] = theme('blocks', 'comments');

Report this snippet  

You need to login to post a comment.