Drupal 7

Adding Blocks and Views into a Drupal 7 Theme

Adding a Block to a Drupal 7 Template

<?php $block = module_invoke('sharethis', 'block_view', 'sharethis_block', 0);  print $block['content'];  ?>

Adding a View to a Drupal 7 Template

<?php $viewName = 'author_bio'; print views_embed_view($viewName);?>
Subscribe to RSS - Drupal 7