Last active
February 17, 2021 03:52
-
-
Save frankyonnetti/5944703 to your computer and use it in GitHub Desktop.
Drupal 6 - display view block #drupal #d6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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