In drupal 6 it was
<?php
$block = module_invoke('views', 'block', 'view', 'map-block_1');
print $block['content'];
?>
arg 1 : module name
arg 2 : hook name like block
arg 3 : $op of hook_block e.g. info, view, configure
arg 4 : id or delta of the block e.g 30, map-block_1
No comments:
Post a Comment