How to assemble a complex multi-level menu?

Good day
The task is to collect complex multilevel menu
1 point -> link to the filter or a section catalog -> link to filter
Item 2 -> link to section news.list-and
3 point just a link
4 item -> company and static pages section
How is this to collect?
July 4th 19 at 23:46
3 answers
July 4th 19 at 23:48
Solution
How often is the menu going to change? If at all, meaning it generates?

The simplest solution is to static hang, I mean a standard feature of many levels of menus.
The simplest way is Yes, but you need the correct version and not a simple - marianna_Lebsa commented on July 4th 19 at 23:51
and then there is no right option ) Each as he wants and does. From my experience I would say that the links in the menu items static. For example you have a news section /news/ duck it and after 10 years will be in the same place. The filter also has the same principle of construction. Yes and change the menu at any time is 1-2 seconds. - Bell_Anders commented on July 4th 19 at 23:54
: Of course there are cases that podsteregayut sections in the store, but still 100 pips is not in the same menu - Bell_Anders commented on July 4th 19 at 23:57
: Well, 1 of these sections will be updated often (catalogue) and the other No. 2 rarely, but it seems like they plan to - marianna_Lebsa commented on July 5th 19 at 00:00
sections of the catalog can be segeneiti in podklyuchenii the file menu and merge the arrays - Bell_Anders commented on July 5th 19 at 00:03
July 4th 19 at 23:50
Solution
It is not entirely clear, to build the menu in code, using API Bitrix?
Or you are interested in where to find a design template of the menu?

Design templates online a lot (googling), e.g.: https://www.freshdesignweb.com/jquery-css-drop-dow...
interested in code, the pattern is laid out I have - marianna_Lebsa commented on July 4th 19 at 23:53
: which component to use to display the menu? - Bell_Anders commented on July 4th 19 at 23:56
now most of the work was done by the method suggested above, using menu and menu.sections - Bell_Anders commented on July 4th 19 at 23:59
: Yes, it's standard components Bitrix menu creation. That's it for the documentation
https://dev.1c-bitrix.ru/user_help/settings/settin...
https://dev.1c-bitrix.ru/user_help/settings/settin... - marianna_Lebsa commented on July 5th 19 at 00:02
July 4th 19 at 23:52
And what's the problem? There is a file type menu .menu_type.menu.php there .menu_type.menu_ext.php. But it is also possible to postpone the execution of a menu template and then such horror to use $GLOBALS['BX_MENU_CUSTOM']->AddItem();

The mass of options. All limited by your imagination and skill.

Find more questions by tags 1C-Bitrix