I
I
Ivan Fotiev2016-02-26 16:49:35
1C-Bitrix
Ivan Fotiev, 2016-02-26 16:49:35

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

1 answer(s)
A
Alexey Ukolov, 2016-02-26
@alexey-m-ukolov

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 question

Ask a Question

731 491 924 answers to any question