G
G
glem13372019-02-25 18:10:59
1C-Bitrix
glem1337, 2019-02-25 18:10:59

Why doesn't the mail template change?

There is a feedback component. The task is to change the mail template for this component call.
The essence of the problem.
When changing the EVENT_MESSAGE_ID parameter, the component parameters always remain like this:
5c7402d840f0b870704269.png
Although when called, there is a completely different value:
5c740378caffd364429591.png
In component.php I found the following code:

if($arParams["EVENT_NAME"] == '') {
  $arParams["EVENT_NAME"] = "FEEDBACK_FORM";
}
However, adding the EVENT_NAME parameter with the value of the template I need to the component call parameters does not change anything:
5c74047d8b208693070662.png
The mail template and the event exist.
5c74051faf88a750348619.png
The cache was completely cleared.
What could be the problem? Someone faced such a problem?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2019-02-25
@jasper-blondin

If you asked a question about the standard functionality, someone else could help you.
And you use some "left" component: "jack:feedback.main"
You never know what this "Jack" wrote in his code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question