/ Published in: PHP
Embed Drupal 6 block anywhere with proper block HTML IDs and classes.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$module = 'anymodulename'; $delta = 'blockdelta'; $block = (object) module_invoke($module, 'block', 'view', $delta); $block->module = $module; $block->delta = $delta; print theme('block', $block);