/ Published in: PHP
Actualizado D7
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php // Drupal 7 $block = block_load('views', 'productos-block_3'); print $output; // $block = module_invoke('views', 'block_view', 'blog-block'); print render($block); ?> <?php print '<div class="block_inter">'; /*otro $block = module_invoke('block' ,'block', 'view', 2) $block = module_invoke('views', 'block', 'view', 'explore_menu-block_1'); */ $block = module_invoke('simplenews' ,'block','view', 1); print '<h2>' . $block['subject'] . '</h2>'; print $block['content']; print '</div>'; //OR print views_embed_view('mapa', 'block_2',$node->field_promocion[0]['nid']); ?>