Print embed block (module)


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. $block = module_invoke('modulename', 'block_view', 'menu-my-menu-name');
  3. print render($block['content']);
  4. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.