0
11.08.201619:4711.08.2016 19:47:11
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
global $APPLICATION;
$aMenuLinksExt = $APPLICATION->IncludeComponent(
"bitrix:menu.sections",
"",
array(
"CACHE_TIME" => "36000000",
"CACHE_TYPE" => "A",
"DEPTH_LEVEL" => "1",
"DETAIL_PAGE_URL" => "#SECTION_CODE#/#ELEMENT_CODE#/",
"IBLOCK_ID" => "3",
"IBLOCK_TYPE" => "products",
"ID" => $_REQUEST["ID"],
"IS_SEF" => "Y",
"SECTION_PAGE_URL" => "#SECTION_CODE#/",
"SECTION_URL" => "",
"SEF_BASE_URL" => "/products/"
),
false
);
$aMenuLinks = array_merge($aMenuLinks, $aMenuLinksExt);
?> |
Если нужно вывести меню из определенного раздела (а не из всего инфоблока), то
сюда
11.08.201619:4711.08.2016 19:47:11