M
M
Maxim2020-04-13 17:27:33
1C-Bitrix
Maxim, 2020-04-13 17:27:33

How to set up the Bitrix news filter correctly?

There is an infoblock with sections. I output articles with the complex news component. Customized the bitrix component: news.detail Added to the end of the bitrix template: news.list and configured it for the infoblock. The task is to display the last 3 articles of the section whose article we are viewing.5e9475bded34a859959556.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PetrPo, 2020-04-14
@max-p85

Well, you don't even need a filter. The news.list component has a parameter PARENT_SECTION = section id, a parameter NEWS_COUNT = 3, a parameter SORT_BY1 = ID, a parameter SORT_ORDER1 = DESC

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question