Hello i am trying to avoid using the block system with drupal. Im using panels and i dont like having to add the main content if i use any block in a region. anyhow.... i was hoping to add a menu block i have to my page.tpl
The block i want to add has this url to it when i edit it- block/manage/menu_block/2/configure
The code im using to add another block is
<?php $block = module_invoke('md_megamenu', 'block_view', '1'); print $block['content']; ?>
Ive tried a few things with not much success. If i was to choose my best effort it would be-
<?php $block = module_invoke('menu_block', 'block_view', '2'); print $block['content']; ?>
this just shows 'array' though.
could anyone suggest anything i should try?