Answer the question
In order to leave comments, you need to log in
How does the component work in Bitrix?
Good day, dear users.
There is such an element on the site. I'm trying to find it in the code and edit it.
I found a template for this component, now I'm trying to figure out where to find these 4 elements? Where can they be stored?
<?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")
);?>
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