Answer the question
In order to leave comments, you need to log in
Bitrix. How to pass a link to a detailed image to result_modifier?
I have element properties passed to result_modifier in this way
$arSelect = Array("ID", "IBLOCK_ID", "CODE", "NAME", "PROPERTY_CITIES.CODE", "PROPERTY_SERVICES", "PROPERTY_MODE" , "DETAIL_TEXT" , "DETAIL_PICTURE" , "FILE_NAME");
$arFilter = Array("PROPERTY_EMPLOYER.ID"=> $arResult["ID"], "SECTION_ID" => 61);
$res = CIBlockElement::GetList(Array(), $arFilter, false, Array(), $arSelect);
$arResult["DOCTORS"] = array();
while($ob = $res->GetNextElement())
{
$arFields = $ob->GetFields();
array_push($arResult["DOCTORS"], $arFields);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question