Answer the question
In order to leave comments, you need to log in
Where do event handlers work other than init.php?
Hello, I am developing a ready-made solution and a part of the functionality based on event handlers (tracking the creation of an infoblock element). At the moment, the handler code is located in init.php, since it is forbidden to change user files when unpacking the solution, where to place the event handler code?
Answer the question
In order to leave comments, you need to log in
Write your own module that will be installed when the solution is installed and subscribe to the necessary events. And in it already place handlers where you want.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question