Answer the question
In order to leave comments, you need to log in
Is it possible to change the sql query of a component to select data in 1C Bitrix?
There is a component in 1s Bitrix, standard, as far as I understand, the component.php
logic is described in the component folder in the file, templates/имя_шаблона/template.php
the template itself is described in the file. The question is, is there some kind of hook, or something where you can change the sql query to fetch the data?
There is also such a file: result_modifier.php
, but it does not change the query, but allows you to add data to the already formed result set before outputting it to the template.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question