xRS MODX extra

xRS Search & pdoPage (scroll ajax mode)

Logo ResourceSpace Logo Wordpress Logo Prestashop Logo Joomla

Search results and Ajax automatic paging

xRS snippet can be used with the pdoPage snippet included in pdoTools extra for MODX.

All ajax display modes are available and it is possible to select the number of photos per page.

This demo use the pdoPage 'scroll' mode to automatically add images on page scrolling.

Note: first call could be slow because image files and data are not yet cached.

Scroll ajax mode Example

Query is send to photoarchives.jpdn.net to search photos with the IPTC keyword 'Japan'.

<div id="pdopage" style="min-height:500px;">
    <span class="badge badge-secondary float-right">Total: [[+xrs.total]]</span>
    <div class="rows row">
    <div class="d-flex justify-content-between">


Total: 2001
Image ID: 248
Image ID: 1839
Image ID: 313
Image ID: 396