Answer the question
In order to leave comments, you need to log in
Why are menus empty inside complex components?
I am new to 1s-bitrix. In the site template, menus with their own templates are connected. For example:
<?$APPLICATION->IncludeComponent(
"bitrix:menu",
"module_top",
array(
"ROOT_MENU_TYPE" => "top",
"MENU_CACHE_TYPE" => "N",
"MENU_CACHE_TIME" => "3600000",
"MENU_CACHE_USE_GROUPS" => "Y",
"MENU_THEME" => "site",
"CACHE_SELECTED_ITEMS" => "N",
"MENU_CACHE_GET_VARS" => array(
),
"MAX_LEVEL" => "2",
"CHILD_MENU_TYPE" => "subtop",
"USE_EXT" => "Y",
"DELAY" => "N",
"ALLOW_MULTI_SELECT" => "N",
"COMPONENT_TEMPLATE" => "module_top"
),
false
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question