Answer the question
In order to leave comments, you need to log in
How to get the value of the linked element of the Bitrix infoblock?
There is an infoblock with the METHOD property, to which another infoblock is attached, containing several properties.
How to get the properties of 2 infoblocks and from 1 infoblock?
I use the following code to get properties:
<? $types = CIBlockElement::GetList(array(), Array('IBLOCK_ID' => ID, 'ACTIVE' => 'Y'), false, array('nTopCount' => 3),
array('PROPERTY_BANNER', 'PROPERTY_TITLE', 'PROPERTY_SUBTITLE',
'PROPERTY_METHOD'));
while($type = $types->GetNext()):?>
<?=$type['PROPERTY_METHOD_VALUE']?>
<?php endwhile;?>
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