GD Infinite Scroll

Categories

Component ID

2328901

Component name

GD Infinite Scroll

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

16061

Component created

Component changed

Component body

Infinite scroll / Load more button

Provide an administration to use a jQuery plugin auto-pager on custom pages using pager. You can use autoload on scroll or a load more button.

This module is designed to works on any page with pagination (views, search results, heavily customised page, ...)

Features

- User interface to add infinite scroll settings.
- You can use pattern in URL to active similar settings on multiple page. (like category/*)
- Multiple URLs (like blocks visibility urls)
- Multiple infinite pager in one page
- If the URL pattern doesn't solve your problematic, call directly gd_infinite_scroll_add_unique_settings('my_settings'); in your module to arbitrary add a settings on your page (on a specific node type for example).
- Can display a "load more" button instead of autoload on scroll.
- Test on your local environment and deploy your settings with features when your ready.

Tutorials

- Create a list of x item with a pagination
- Display the list on a drupal url, for example : "my-items"
- Go to admin/config/user-interface/gd-infinite-scroll
- add a new infinite scroll settings via the link
- set the url to 'my-items'
- adjust the selector for your markup (default selector is for views markup and default pager)
- save, visit 'my-items' page.
- it doesn't works : post your markup, the selector used and the errors you get (if you have) in the issue queue.
- it works : create a feature, select the gd infinite scroll settings, deploy.

Similar projects

https://www.drupal.org/project/views_infinite_scroll did the same work but for views only.