Blame view
fr/archive/contests/.additional.menu.php
888 Bytes
60c6f0893 init |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
<? $aMenuLinks = Array( Array( "Councours", "/fr/archive/contests/", Array(), Array(), "" ), Array( "Festivals", "/fr/archive/festivals/", Array(), Array(), "" ), Array( "Tours", "/fr/archive/tours/", Array(), Array(), "" ) ); ?> <? global $APPLICATION; $aMenuLinksExt=$APPLICATION->IncludeComponent("bitrix:menu.sections", "", array( "IS_SEF" => "Y", "SEF_BASE_URL" => "/catalog/", //директория каталога у вас "SECTION_PAGE_URL" => "#SECTION_ID#/", "DETAIL_PAGE_URL" => "#SECTION_ID#/#ELEMENT_ID#", "IBLOCK_TYPE" => "FESTIVALS_AND_CONTESTS", //название инфоблока "IBLOCK_ID" => "11", //ID инфоблока "DEPTH_LEVEL" => "4", "CACHE_TYPE" => "A", "CACHE_TIME" => "3600" ), false ); //echo"<pre>";print_r($aMenuLinksExt);echo"</pre>"; $aMenuLinks = array_merge($aMenuLinks, $aMenuLinksExt); ?> |