Answer the question
In order to leave comments, you need to log in
How to make pagination in news.list?
For example, 40 news are displayed on the page, I want 10 to be displayed, and at the bottom of the page there was a numbering, that is, we have 10 news displayed on 1, go to 2, also 10, how to do this with news.list without resorting to a custom solution ?
Answer the question
In order to leave comments, you need to log in
The component has already prepared pagination for you. In the component settings, specify the number of elements per page and the pagination template. Output in the template.
news.list
In the component call parameters, specify how many news you need on the page, add <?=$arResult["NAV_STRING"]?> to the template
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question