Guys, tell me how to display the information block section in the menu ?. To solve this problem, I used an information block catalog, in which there are sections (goods 1, goods 2). Then I created the sidebar menu and the .sidebar.menu_ext file in which I placed the following code
<? if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); global $APPLICATION; $aMenuLinksExt=$APPLICATION->IncludeComponent("bitrix:menu.sections", "", array( "IS_SEF" => "Y", "SEF_BASE_URL" => "/catalog/", "SECTION_PAGE_URL" => "#SECTION_CODE_PATH#/", "DETAIL_PAGE_URL" => "#SECTION_CODE_PATH#/#SECTION_CODE#/", "IBLOCK_TYPE" => "catalog", "IBLOCK_ID" => "1", "DEPTH_LEVEL" => "4", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000" ), false ); $aMenuLinks = array_merge($aMenuLinksExt, $aMenuLinks); ?> Then I chose the tree template, but then the next problem appears. Information block sections appear, but elements of this section do not appear, how to fix it?
menu.sectionswith the array obtained throughCIBlockElement::GetList. Try it, it will not work, throw your code, we will look. - Nikolaj Sarryresult_modifier.phportemplate.phpcomponent of themenu.sectionscomponentmenu.sectionsthat itCIBlockElement::GetListbesides selecting sections. - Nikolaj Sarry