Доброго времени суток, дорогие пользователи.
Есть на сайте такой элемент. Пытаюсь найти его в коде и отредактировать.
Нашёл шаблон этого компонента, теперь пытаюсь понять где найти эти 4 элемента? Где они могут храниться?
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
$this->setFrameMode(true);
if(count($arResult["ITEMS"]) < 1)
return;?>
<div class="advantages">
<?foreach($arResult["ITEMS"] as $arItem):?>
<div class="adv-item">
<div class="adv-icon">
<i class="fa<?=(!empty($arItem['DISPLAY_PROPERTIES']['ICON']['VALUE'])) ? ' '.$arItem['DISPLAY_PROPERTIES']['ICON']['VALUE'] : ''?>"></i>
</div>
<div class="adv-text">
<?=$arItem['NAME']?>
</div>
</div>
<?endforeach;?>
</div>
И вот код вызова компонента как я понял
<?global $arAdvFilter;?>
<?$APPLICATION->IncludeComponent("bitrix:news.list", "advantages",
array(
"IBLOCK_TYPE" => "content",
"IBLOCK_ID" => "8",
"NEWS_COUNT" => "10",
"SORT_BY1" => "SORT",
"SORT_ORDER1" => "ASC",
"SORT_BY2" => "ACTIVE_FROM",
"SORT_ORDER2" => "DESC",
"FILTER_NAME" => "arAdvFilter",
"FIELD_CODE" => array(),
"PROPERTY_CODE" => array(
0 => "ICON"
),
"CHECK_DATES" => "Y",
"DETAIL_URL" => "",
"AJAX_MODE" => "N",
"AJAX_OPTION_SHADOW" => "Y",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "N",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "36000000",
"CACHE_FILTER" => "Y",
"CACHE_GROUPS" => "Y",
"PREVIEW_TRUNCATE_LEN" => "",
"ACTIVE_DATE_FORMAT" => "d.m.Y",
"DISPLAY_PANEL" => "N",
"SET_TITLE" => "N",
"SET_STATUS_404" => "N",
"INCLUDE_IBLOCK_INTO_CHAIN" => "N",
"ADD_SECTIONS_CHAIN" => "N",
"HIDE_LINK_WHEN_NO_DETAIL" => "N",
"PARENT_SECTION" => "",
"PARENT_SECTION_CODE" => "",
"DISPLAY_NAME" => "N",
"DISPLAY_DATE" => "N",
"DISPLAY_TOP_PAGER" => "N",
"DISPLAY_BOTTOM_PAGER" => "N",
"PAGER_SHOW_ALWAYS" => "N",
"PAGER_TEMPLATE" => "",
"PAGER_DESC_NUMBERING" => "N",
"PAGER_DESC_NUMBERING_CACHE_TIME" => "3600",
"PAGER_SHOW_ALL" => "N",
"AJAX_OPTION_ADDITIONAL" => ""
),
false,
array("HIDE_ICONS" => isset($arAdvFilter["HIDE_ICONS"]) && $arAdvFilter["HIDE_ICONS"] == "Y" ? "Y" : "N")
);?>