Example of pagination with module. First display range and total, second current page number and total number of pages. Both display previous and next links

This project is not covered by Drupal’s security advisory policy.

The Views Pager Mini Count module extends Drupal's built-in Views mini pager with two new pager plugins that give site visitors clear, at-a-glance pagination context — without requiring a full pager with numbered page links.

Features

The module provides two pager plugins, both available in any View under the Pager settings:

Mini pager with page count — displays the current page number alongside the total number of pages.

Example: Page 3 of 12

Mini pager with result range — displays the exact range of results currently shown alongside the total item count.

Example: 21–30 of 2 309

Both plugins keep the lightweight previous/next link navigation of the core Mini pager, while adding the contextual information that users need to orient themselves in large result sets.

Use cases:

  • Search result pages where users need to know how many results exist.
  • Content listings (articles, products, events) where showing a result range improves perceived usability.
  • Any situation where the full pager (with numbered page links) would be visually too heavy, but the core Mini pager lacks enough information.

Post-Installation

  1. Enable the module via Extend (/admin/modules) or with Drush: drush en views_pager_mini_count.
  2. Open any View in the Views UI (/admin/structure/views).
  3. Click the Pager settings link for the display you want to configure.
  4. Select either "Paged output, mini pager with page count" or "Paged output, mini pager with result range".
  5. Configure the items per page, link labels and any other options as needed, then save the View.

No additional configuration page is required. The selected pager will render automatically using the module's Twig templates. To customize the HTML output, copy one or both templates into your active theme:

  • views-mini-pager-count.html.twig
  • views-mini-pager-range.html.twig

Supporting this Module

If this module saves you time, consider contributing back: report bugs, review open issues, or submit patches on the project's issue queue.

Supporting organizations: 

Project information

  • Project categories: Content display
  • Created by goz on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases