U
U
unsweet2018-02-14 13:17:02
1C-Bitrix
unsweet, 2018-02-14 13:17:02

How to override nav_string in result_modifier.php in news.list?

If in the news component, in news.list, you redefine the $arResult['ITEMS'] array in result_modifier.php (let's say some $arItems are bang), then pagination is lost on the page where the output of news.list lies. it apparently takes into account the $arResult['ITEMS'] that was originally in the input. How to make it not crash? Or how to override it in result_modifier.php?
I’ll say right away that How to redefine NAV_STRING in the bitrix:catalog.section component? - not at all

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Epifanov, 2018-02-14
@unsweet

If you need to somehow filter $arResult['ITEMS'], you can use the FILTER_NAME parameter of the news.list component. A similar question is asked here, it has been fully answered.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question