Is it possible? For example, if the module's block meets your needs but it a block (not a page) and you want to use ready solution. Writing in a tpl.php file something like render(desired_block), i.e. to get an output markup of the block for reuse.

1 Answer 1


Not sure what version of Drupal you are using but here is how I rendered a block in drupal 7.

  $block = block_load('MODULE_NAME', 'DELTA'); 
  $output = drupal_render(_block_get_renderable_array(_block_render_blocks(array($block)))); 
  print $output; 
  • Make sure you mark it as the answer if it worked for you. Commented Aug 14, 2012 at 14:39
  • There's a minimum time limit for marking an answer=) Don't worry.
    – DimG
    Commented Aug 14, 2012 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.