Return to Snippet

Revision: 34352
at October 21, 2010 12:31 by hamsterbacke82


Initial Code
<?php
$viewName = 'MYVIEWNAME';
$display_id = 'block';
$myNodes = array(1, 2, 3);
print views_embed_view($viewName, $display_id, $myNodes);
?>

Initial URL


Initial Description


Initial Title
Drupal embedding View in theme

Initial Tags
drupal, theme

Initial Language
PHP