How to embed views in drupal pages

22 Aug

Here is the PHP code you can use on any drupal ‘page’ with input format as php code.

<?php
$view = views_get_view('Attention_sitemap'); //View name to be added on the page
print $view->execute_display('default'); //Views display
?>

Kindly add your comments for any query or suggestion.

Thanks,
Sachin

No comments yet

Leave a Reply

*