Blame view

products/.left.menu_ext.php 504 Bytes
60c6f0893   root   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  <?
  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" => "",
  	"SECTION_PAGE_URL" => "#SECTION_ID#/",
  	"DETAIL_PAGE_URL" => "#SECTION_ID#/#ELEMENT_ID#",
  	"IBLOCK_TYPE" => "products",
  	"IBLOCK_ID" => "2",
  	"DEPTH_LEVEL" => "1",
  	"CACHE_TYPE" => "A",
  	"CACHE_TIME" => "36000000"
  	),
  	false
  );
  
  $aMenuLinks = array_merge($aMenuLinks, $aMenuLinksExt);
  ?>