G
G
Good Samaritan2018-05-26 10:51:05
1C-Bitrix
Good Samaritan, 2018-05-26 10:51:05

How to change $MESS['FORM_NOTE_ADDOK'] if I copied component template to local?

And in the file local/templates/olin/components/bitrix/form.result.new/message_to_director/lang/ru/template.php this phrase is not present, it is located in bitrix/components/form.result.new/lang/ru/component .php

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Good Samaritan, 2018-05-26
@djamali

Solved using result_modifier by replacing the line
Code
$arResult['FORM_NOTE'] = str_replace("#RESULT_ID#", $RESULT_ID, GetMessage('FORM_NOTE_ADDOK'));

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question