If you want to view blocks in drupal 7, you have to use
<?php
$block = module_invoke('views', 'block_view', 'map-block_1');
print $block['content'];
?>
arg 1 : module name
arg 2 : hook name like block_view, block_info
arg 3 : id or delta of the block e.g 30, map-block_1
No comments:
Post a Comment