Skip Navigation

[Gelöst] In my View the elements only load two times (infinity loading)

This support ticket is created vor 5 Jahren, 4 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Waqar vor 5 Jahren, 4 Monaten.

Assistiert von: Waqar.

Author
Artikel
#1286181

I am trying to: Load 10 results after scroll to last elements it loads 10 more. But after that it stops loading more.

Link to a page where the issue can be seen: versteckter Link

I expected to see: 10 results -> scroll to last result -> load next 10 -> scroll to last -> lead next ... and so on...

#1286497

Hi Stefanie,

Thank you for waiting while I performed some tests and research.

The way infinite scrolling works in Toolset Views ( ref: https://toolset.com/documentation/user-guides/infinite-scrolling-in-views/ ), it will load results on the fly, only until the posts are available as per the pagination settings, but it won't start the cycle from the start, once they all have appeared once.

If you'd like to include this feature to start the cycle from the beginning, you're welcome to submit a feature request at:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

regards,
Waqar

#1287925

I think you dont understand.

Ive 200 search results.
With infinity scroll i set up "10 posts per page". So i get at the beginning 10 Entrys. If i scroll down i get 10 more. So then ive got 20 entry in total. But then im scrolling and i get no more entrys.... why? Ive 200 results normally 😀

#1288373

Hi Stefanie,

Thanks for writing back and I apologize for the confusion.

I thought you wanted to keep the post cycle running indefinitely, through the infinite scroll.

As you mentioned, the view does stops at 20 results, whereas there are 124 "Häuser" posts. During troubleshooting, I saw the following error in the browser's console, which can be causing the abrupt ending of the infinite scroll's script:
( screenshot: versteckter Link )


rocket-loader.min.js:1 A parser-blocking, cross site (i.e. different eTLD+1) script, <em><u>versteckter Link</u></em>, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See <em><u>versteckter Link</u></em> for more details.

This error/warning is known to be associated with the "Rocket Loader Module" from Cloudflare and I'll recommend to temporarily disable it and see if it fixes the issue.
( ref: https://stackoverflow.com/a/41765273 )

In case the issue still persists, I'll need a clone/snapshot of your website so that this can be investigated in more depth since I wasn't able to reproduce this issue on my test website.
https://toolset.com/faq/provide-supporters-copy-site/

Note: Your next reply will be private.

I hope this helps and please let me know how it goes.

regards,
Waqar