Display a "Show All" (pages) link
Last updated on
30 April 2025
For paging module, to add a "Show all" link in the pager, override the theme('pager') function and add the following right before the return statement:
$items[] = array(
'class' => 'pager-all',
'data' => l(t('Show all'), $_GET['q'], array('query' => array('page' => 'full'))),
);
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion