Return to Snippet

Revision: 27006
at May 19, 2010 02:54 by phpdiva


Initial Code
$module = 'anymodulename';
$delta = 'blockdelta';

$block = (object) module_invoke($module, 'block', 'view', $delta);
$block->module = $module;
$block->delta = $delta;

print theme('block', $block);

Initial URL

                                

Initial Description
Embed Drupal 6 block anywhere with proper block HTML IDs and classes.

Initial Title
Drupal 6 :: Embed block anywhere

Initial Tags
drupal

Initial Language
PHP