Answer the question
In order to leave comments, you need to log in
Bitrix. How to pass a link outside the component?
In general, there is a page, for example site.ru/promotions, there are promotions displayed by the bitrix.news component, by clicking on a promotion a detailed promotion is displayed. the promotion page, I can of course manually register, but this is not how you can send a link
Answer the question
In order to leave comments, you need to log in
Are link templates registered in the infoblock settings?
If the list of promotions is displayed on the partner page by a standard component, the list of elements in arResult should contain links.
If the output is via the API (old), in the selection you need to specify the Select fields DETAIL_PAGE_URL, and select elements through GetNext or GetNextElement.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question