Drupal 7 - Print block in node.tpl

$block = module_invoke('menu_block', 'block_view', '2'); print render($block['content']);
In this case, the code is printing a "menu block" from the menu block module. The other info was found here -> admin/structure/block/manage/menu_block/2

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.