Skip to content

Instantly share code, notes, and snippets.

@frankyonnetti
Last active February 17, 2021 03:52
Show Gist options
  • Save frankyonnetti/5944703 to your computer and use it in GitHub Desktop.
Save frankyonnetti/5944703 to your computer and use it in GitHub Desktop.
Drupal 6 - display view block #drupal #d6
<?php
$block = module_invoke('views', 'block', 'view', 'BLOCK-NAME-block_10');
if ($block['content']) { ?>
<div class="name">
<?php
print $block['content'];
?>
</div>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment