Answer the question
In order to leave comments, you need to log in
How to put a subsection of the second level on the first level in a multilevel menu in Bitrix?
Good afternoon!
I noticed one feature of Bitrix: if in a multilevel menu at the top level you put a link to a section deeper than the first level, for example /section/subsection/, then Bitrix refuses to display section data such as a link, id or text, displaying only an empty layout. Moreover, if you try to display the original $arResult array, this item is there.
I often face the task of putting an item from level 2 and deeper into the top section of the menu.
How can I bypass this feature of Bitrix?
Answer the question
In order to leave comments, you need to log in
No problems at all!
Transfer the menu template to your own local
and modify
It can be hacked into result_modifier by increasing the DEPTH_LEVEL value by 1 for the desired items and their sub-items
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question