/ Published in: PHP
Drupal 6
Do this after $view->execute() has already been called
Do this after $view->execute() has already been called
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$pager_type = ($view->pager['use_pager'] === 'mini' ? 'views_mini_pager' : 'pager'); $pager_theme = views_theme_functions($pager_type, $view, $view->display_handler->display); $pager = theme($pager_theme, NULL, $view->pager['items_per_page'], $view->pager['element']);