A
A
Aricus2021-11-08 23:56:38
1C-Bitrix
Aricus, 2021-11-08 23:56:38

How to get infoblock element URL?

In one modified component, the parameters of the IS element are obtained in the following form:

Array
(
[ID] => 8
[IBLOCK_ID] => 1
[NAME] => TE-01
[CODE] => te-01
[DETAIL_PAGE_URL] => #SITE_DIR#/catalog/#SECTION_CODE_PATH#/#ELEMENT_CODE#.php
(and a bunch of other parameters, among which there is no #SECTION_CODE_PATH#)
)

How can I get the real url to put in the href?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
scottparker, 2021-11-09
@Aricus

ciblock replacedetailurl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question