Answer the question
In order to leave comments, you need to log in
Output of the “Binding to elements” property in the order of filling in Bitrix. How to implement?
There was a problem with the following task. There is a template for a detailed news article, the "Binding to elements" property is set for the article in the infoblock. This property specifies other articles that will be displayed in a list under the text. The problem is that you need to display these articles in the order in which they are set in the admin panel when filling in the "Binding to elements" property, but the standard sorting options do not give this, and if sorting is completely disabled, then the articles are displayed by sections (first articles section 1, then the articles of section 2, etc.). How can this be implemented?
The filter is set by default
<?
global $filterNews;
$filterNews = array("ID"=>$arResult['PROPERTIES']['ADD_NEWS']['VALUE']);
?>
<?$APPLICATION->IncludeComponent(
"bitrix:news.detail",
array(
...
"FILTER_NAME" => "filterNews",
...
?>
Answer the question
In order to leave comments, you need to log in
https://dev.1c-bitrix.ru/api_help/iblock/classes/c... This
is already standard. Try to apply
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question