Bitrix Site Manager

Result modifier: result_modifier.php

If the template folder contains the file result_modifier.php, this file is called before the template is included. This file allows to modify the component output.

In result_modifier.php you can add the required information to $arResult. This allows to avoid component customization.

Or, in result_modifier.php you can reformat the component output in $arResult for easier use in a template.