Closed (outdated)
Project:
Views Infinite Scroll
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2013 at 12:32 UTC
Updated:
3 Jul 2019 at 10:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #0.0
OnkelTem commentedUpdated issue summary.
Comment #1
OnkelTem commentedThis is of course critical since it breaks module functionality.
Comment #1.0
OnkelTem commentedUpdated issue summary.
Comment #1.1
OnkelTem commentedUpdated issue summary.
Comment #2
OnkelTem commentedAlso error message appears in js console in Views admin UI:
Screenshot:

Comment #3
funkDoc commentedI had this same issue here:
http://drupal.org/node/1952764
My fix was to enable the "more" link and change the pager ID. Again no idea why either are necessary but that seemed to fix it.
Comment #4
OnkelTem commentedI found several problems and almost fixed them. I will post a patch today.
Comment #5
alexolder commentedAny luck with a patch? I'm having exactly the same problem.
Comment #6
SuperEngineer 64 commentedSame error here in germany :p.
But here its a little different (and i guess you otheres have the same problem).
Its not, that there is just the first page loaded, the issue is, that the module just works ONE time, I guess.
Example: Build a view and set its Inifinit-Items to a number (x), that the displayed rows nearly not reaching the bottom of the div. The module will recognize that and say "Hey, theres mor space!" and will load the second stack of (x). But after that, nothing happend. If your scrolling to the end - the modul did not recognize it anymore.
So I guess the problem is, that the module just works one time. A second reload (to page 3) dont works.
EDIT: Here is some hint: If you reached the bottom or your view, then go outside with the mouse and scroll one time up. The view will then reload the next stack. Strange..
Comment #7
chrisjlee commentedhaving this problem as well
Comment #8
BD3 commentedSame here and unfortunately #3 does not fix it for me.
Comment #9
alesr commentedGot this one today too.
When scrolling down I get this error in Javascript console:
It's weird because it was working ok for me when I last tried Views Infinite Scroll months ago.
Can it be related to Views updates?
Comment #10
ckt.orange commentedHaving the same issue, won't load more when scrolled down,
checked with Firebug, gave me an
Comment #11
ckt.orange commentedFound the issue, please don't use semantic view for the Format, it's a third party module and doesn't compile with view infinite scroll.
I changed my format to unformatted list and it works fine.
Not sure about other format, you may try it yourself.
Comment #12
servantleader commentedSame problem. #3 did not work. #11 does not apply as that module is not used for D7.
Comment #13
EndTheFederalReserve commented#3 did not work for me.
#11 did not work for me.
July 18th 2013 and I've scoured all corners of the Internet .. is there a fix for D7 or are we stuck in the stoneage of D6 or abandoning D all together?
Comment #14
EndTheFederalReserve commentedI do believe this is a Javascript error with the Autopager according to my Firebug console error:
and it seems to specifically cite the 2nd line of code of this function
Any Javascript baddies on here to patch this up or is the issue more complex? Similar issue for others?
Hundreds of you are reading this, few are chiming in, lets find a solution today
Comment #15
EndTheFederalReserve commentedI discovered a solution.
Change your format to HTML List.
You will need to reformat your HTML/CSS to view properly but the autopager will work.
Overall: the plugin works but there are a hornet's nest of bugs needing to be fixed that would only make this smoother but for your application it will in fact work.
Now that I have autoscroll working, it still shows "page 1 of 18" and a 'next' button for example but I will solve this with CSS display:none; to hide the pagination content.
Comment #16
EndTheFederalReserve commentedI also must note I do have 'yes' for the 'more' link selected however there is no more link. I could remove this but I'm so happy with it working I will let someone else try this and post and enjoy the working autopager in the meantime.
Peace
Comment #16.0
EndTheFederalReserve commentedUpdated issue summary.
Comment #17
tahiticlic commentedWell investigating a bit show that the JS is waiting for a predefined DOM structure (lines 24 to 29 of views_infinite_scroll.js). So if you've your own structure (custom templates for instance) or even if you use custom classes in views definition (for instance removing "item-list" class applyed by default to the html list display), the JS is unable to find the content...
I guess the right way to deal with this would be to add a selector field in the views plugin attributes, so that if filled this is this value taht will be used, and if not filled the default value would be used.
Comment #18
parvind87 commentedIn my case, I had added the extra class including 'item-list' into - "Wrapper class " for Format: HTML list setting. That extra class was creating problem.
I have removed that extra class and problem get fixed.
Comment #19
seanbJust spent a day looking into this. In my case for some reason the window.scroll event just stops firing? It works fine in other places, can't really figure out whats going on.
Changing the $(window).scroll() functions to $(document).scroll() fixed it for me in the autopager plugin (libraries/autopager/jquery.autopager-1.0.0.js).
It's not the best fix, but at least it works.
Comment #20
honza pobořil commented7.x-1.x will receive no work. Migrate to 7.x-2.x.