Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
1. Initilize the default items to page 3
2. in your custom module :
function hook_views_pre_build(&$view) {
if ($view->name == "YOUR_VIEW_NAME" && !empty($_GET['page'])) {
$view->init_pager();
$view->set_items_per_page('10');
}
}
Comments
Comment #1
Chris Matthews CreditAttribution: Chris Matthews commented