S
S
Sinner32016-06-27 08:42:16
1C-Bitrix
Sinner3, 2016-06-27 08:42:16

How to embed the bitrix:form component into the bitrix news.detail component?

How to embed the bitrix:form component into the bitrix news.detail component, because if it is embedded, then it does not work as it should, is not updated, or if it worked, then the text of the message with successful form submission remains the same?
If you remove caching in the news.detail component, then everything works fine, but then the speed of work suffers.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2016-06-27
@r_zaycev

The most correct solution: do not make calls to a third-party component from the component template (this is such a tautology).
You can try using delayed functions ( CMain::ShowViewContent and CComponentTemplate::SetViewTarget ): https://dev.1c-bitrix.ru/api_help/main/reference/c...

C
cirega, 2016-06-27
@cirega

Better not to use it at all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question