Revision: 34880
Updated Code
at October 29, 2010 14:08 by resting
Updated Code
$view = views_get_view('f_tg_list');
$type = 'block';
$use_pager = false;
$f_tg_list = views_build_view($type, $view, $args = array(), $use_pager, $limit);
print $f_tg_list;
Revision: 34879
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 29, 2010 14:07 by resting
Initial Code
$view = views_get_view('f_tg_list');
$type = 'block';
$use_pager = false;
$f_tg_list = views_build_view($type, $view, $args = array(), $use_pager, $limit);
print $f_tg_list;
Initial URL
Initial Description
In this example, create a block view, where f_tg_list is the views name.
Initial Title
Drupal print views programmatically
Initial Tags
Initial Language
PHP