<?php
$block = module_invoke('module_name','block_view', 'block id' );
print $block['content'];?>
For Example which Views Module as
<?php
$block = module_invoke('views','block_view', 'article_block' );
print $block['content'];?>
Similarly for search form
<?php
$block = module_invoke('search/form','block_view', 'search/form');
print $block['content'];?>
No comments:
Post a Comment