Posted By

mimlee on 11/23/10


Tagged

drupal views


Versions (?)

Render Views display programmatically


 / Published in: PHP
 

Example from New Play Map

  1. $view2 = views_get_view('events');
  2. $view2->set_display('panel_pane_3');
  3. $view2->set_arguments(array($all_plays_arg));
  4. $events = $view2->preview();
  5.  
  6. $output = $events;

Report this snippet  

You need to login to post a comment.