Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough

How to Create Fancy Pagers in your Drupal Views with Pagerer

Parent Feed: 
Make use of fancy pagers in your Drupal Views with Pagerer

The Pagerer module provides additional preset styles for Drupal standard pages and Views. It is a very simple module with styling options for everyone.

In this tutorial, you will learn how to add a pager to a View with Pagerer. Let's get started.

Download the Pagerer module from its page at Drupal.org site. Install and enable it.

Step #1. Configure the module

  • Click Configuration > User Interface > Pagerer
  • Click the Add pager button

Add pager

  • Create a name for the pager you’re creating
  • Click Create

Click Create

You’ll be presented with a configuration screen with multiple options.

  • The Panes dictates the position of the pager within the screen
  • The Style option defines the style of the pager itself
  • Experiment with these options in order to see how each pager looks in the PAGER PREVIEW

Edit Fancy Pager

  • Once you selected a style for your pager, click the Configure button.

You’ll see a page with multiple configuration options, for example:

  • Prefix and suffix labels
  • The description and help texts
  • The width of the slider
  • Choose your preferred options and click Save

Center pane settings

  • Click Save once again until you see the Pagerer page. You will see your newly created pager as an option.
  • Select it and click Save Configuration

Replace standard pagerer

Step #2. Add the pager to your View

  • Go to the Views interface
  • Click the Pager option
  • Select Paged output, Pagerer
  • Click Apply

User pager: mini

Paged output: Pagerer

Your recently created pager will be selected by default

  • Click Apply once again

Page: Pager options

  • Save the View
  • Click View Page

View page

  • Now scroll down and take a look at your “fancy” pager.

Take a look at your fancy page

If you are managing large sets of data, this module is a must-have.

Don’t forget to leave your questions, comments, and thoughts below. Thanks for reading!


About the author

Jorge lived in Ecuador and Germany. Now he is back to his homeland Colombia. He spends his time translating from English and German to Spanish. He enjoys playing with Drupal and other Open Source Content Management Systems and technologies.

Author: 
Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web