A
A
Alexander2018-10-26 14:59:28
1C-Bitrix
Alexander, 2018-10-26 14:59:28

News posting on 2 Bitrix sites?

There are 2 sites, on 1 server, but different editions of Bitrix. It is necessary that when you create news on one site, it is automatically created on another. How can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
eternalfire, 2018-10-26
@eternalfire

you need to send a request to the second site on the OnAfterIBlockElementAdd event, which will process it and add it to your database using the CIBlockElement::Add method

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question