Raise page limit up to 2000 news article
Posted: Tue May 02, 2017 7:16 am
Hi all,
i have a big problem. I`m calling a news module summary view template in a cguserDirectory Detail view template.
Now the problem is, that there are only 1000 loops done by the forach loop and so the older articles are not shown (ca. 3.000 articles spread up to 9 categories). The template filters the output by a custom field value.
When I use the pagenumber and navigation onboard, i can`t access the second site (nor third, fourth etc.) of the summary view, cause it is allways redirecting me to the returnid page without having the content of the cguserDirectory detail view template i was calling the news module from.
I thought I could simply ajax the nexturl and fetch the contents (div class .feudetailloesungen), but it also traces the wrong page.
Another solution would be to generate only the elements with the news template, split them up
and do the module calls lazily, but i cant`t find a tutorial to lazy load module calls from frontend.
A third possibility would be to use an alternative news.default.action.php where the maximum page limit for this specific call could be raised up to 2000.
Has anyone an idea of how to load such a huge ammount of data step for step or as an ajax load?
MfG
i have a big problem. I`m calling a news module summary view template in a cguserDirectory Detail view template.
Now the problem is, that there are only 1000 loops done by the forach loop and so the older articles are not shown (ca. 3.000 articles spread up to 9 categories). The template filters the output by a custom field value.
When I use the pagenumber and navigation onboard, i can`t access the second site (nor third, fourth etc.) of the summary view, cause it is allways redirecting me to the returnid page without having the content of the cguserDirectory detail view template i was calling the news module from.
I thought I could simply ajax the nexturl and fetch the contents (div class .feudetailloesungen), but it also traces the wrong page.
Another solution would be to generate only the elements with the news template, split them up
Code: Select all
{news module start=0 number=200}
{news module start=200 number=200}
{news module start=400 number=200}
{news module start=600 number=200}
{news module start=800 number=200}
A third possibility would be to use an alternative news.default.action.php where the maximum page limit for this specific call could be raised up to 2000.
Has anyone an idea of how to load such a huge ammount of data step for step or as an ajax load?
MfG