2 November, 2021 seen 942Recently I started a tutorial series - How to build a Drupal site from scratch. In part 1 I'm talking about planing a…
In this tutorial I'll show you how to add Ajax povered pager for Drupal site.
Let's start with live exapmle: http://reinisfischer.com/blog scroll down to buttom and press Load more button, to see it on action
To achieve such function on your Drupal site, you will need to have, your page containing pager to be powered by using Views, and you will need to download and enable module Views load more.
- Download module Views load more
- Extract to sites/all/modules
- Enable from Module page
Go to your views, or create a new view
- Under Pager settings, change display to Load More pager
- If you are willing to use Ajax function, so the page is refreshing in browser, and not loading next page, under OTHER section, press Use AJAX, and change the value to Yes