Answer the question
In order to leave comments, you need to log in
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
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...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question