Closed (outdated)
Project:
Views Infinite Scroll
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 May 2015 at 13:54 UTC
Updated:
27 Mar 2020 at 20:16 UTC
Jump to comment: Most recent
Comments
Comment #1
penyaskitoMoved to the module queue.
Comment #2
saurabh.dhariwal commented@jimmy.louis,
This is a set back of the views infinite scroll so I dropped it and use simple jquery and custom module to create my own infinite scroll, below are the steps to get it working:
1. In views .tpl file add one div with unique class and a numeric value which will represent the current page at bottom.
2. Create a menu through a custom module, which is been called in our Ajax request.
3. On scroll when unique class appears on screen, we can trigger an Ajax request to get content from url and need to pass the numeric value present in div.
4. When Ajax calls it append the view data into the view display also increase numeric value.
5. Numeric value is used to get next page content via Ajax by passing pagination in view, For that I used view_get_view() and set pagination using set_current_page().
Follow same steps for all views to get multiple infinite scroll.
Thanks!
Comment #3
honza pobořil commented