V
V
ViktorGuerro2020-01-27 11:04:13
1C-Bitrix
ViktorGuerro, 2020-01-27 11:04:13

Where is the "bitrix:catalog.section.list" component and its template "sections_list" stored?

I can't figure out where the template part of this component is stored. It is necessary that one section is not displayed in the catalog. And please advise lessons or an article where they explain how to navigate the directives. Although OOP I know
Connection Code:

<?$APPLICATION->IncludeComponent(
  "bitrix:catalog.section.list",
  "sections_list",
  Array(
    "IBLOCK_TYPE" => $arParams["IBLOCK_TYPE"],
    "IBLOCK_ID" => $arParams["IBLOCK_ID"],
    "CACHE_TYPE" => $arParams["CACHE_TYPE"],
    "CACHE_TIME" => $arParams["CACHE_TIME"],
    "CACHE_GROUPS" => $arParams["CACHE_GROUPS"],
    "COUNT_ELEMENTS" => $arParams["SECTION_COUNT_ELEMENTS"],
    "TOP_DEPTH" => $arParams["SECTION_TOP_DEPTH"],
    "SECTION_URL" => $arResult["FOLDER"].$arResult["URL_TEMPLATES"]["section"],
    "VIEW_MODE" => $arParams["SECTIONS_VIEW_MODE"],
    "SHOW_PARENT_NAME" => $arParams["SECTIONS_SHOW_PARENT_NAME"],
    "HIDE_SECTION_NAME" => (isset($arParams["SECTIONS_HIDE_SECTION_NAME"]) ? $arParams["SECTIONS_HIDE_SECTION_NAME"] : "N"),
    "ADD_SECTIONS_CHAIN" => (isset($arParams["ADD_SECTIONS_CHAIN"]) ? $arParams["ADD_SECTIONS_CHAIN"] : ''),
    "SHOW_SECTIONS_LIST_PREVIEW" => $arParams["SHOW_SECTIONS_LIST_PREVIEW"],
    "SECTIONS_LIST_PREVIEW_PROPERTY" => ($arParams["SECTIONS_LIST_ROOT_PREVIEW_PROPERTY"] ? $arParams["SECTIONS_LIST_ROOT_PREVIEW_PROPERTY"] : 'UF_SECTION_DESCR'),
    "SECTIONS_LIST_PREVIEW_DESCRIPTION" => $arParams["SECTIONS_LIST_PREVIEW_DESCRIPTION"],
    "SHOW_SECTION_LIST_PICTURES" => $arParams["SHOW_SECTION_LIST_PICTURES"],
    "DISPLAY_PANEL" => $arParams["DISPLAY_PANEL"],
  ),
  $component
);?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Prilepa, 2020-01-27
@OAPrilepa

Depends on the context of the call, details are described in the dock: https
://dev.1c-bitrix.ru/learning/course/index.php...
it either lies in /(local|bitrix)/templates/{#template_name#}/components/bitrix/{catalog|catalog.section.list}/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question