Blog Sections Open

Implementing AJAX Pagination for DocLister Listings

A practical article on turning DocLister pagination into an AJAX-driven listing flow instead of full page reloads.

AJAX pagination patterns written for Ditto were common in older Evolution projects, and many teams eventually wanted to port that smoother UX to DocLister. the discussion came from exactly that transition.

Typical client-side idea

$('.pagination').on('click', 'a.page-link', function () {
    var url = $(this).attr('href');
    $('#ajax-container').load(url + ' #listing');
    return false;
});

The important part is not the jQuery line itself. It is making sure the loaded fragment, pagination markup, and server-side listing stay consistent between normal requests and AJAX requests.

What to keep in sync

  • The container selector used for replacement.
  • The markup ID or wrapper that contains only the listing block.
  • Pagination links that still work normally when JavaScript is unavailable.

When done well, AJAX pagination makes DocLister feel much more modern without changing the underlying data logic.

Newer post

Using AjaxSearch with Multi-Select TV Filters

How to combine AjaxSearch with multi-select TV data in Evolution CMS without losing predictable filtering behavior.

Older post

Building TV-Based Filtering with eFilter in Evolution CMS

How to set up eFilter and eFilterResult to build TV-based filtering interfaces in Evolution CMS.