L
L
lexstile2018-07-03 15:08:51
1C-Bitrix
lexstile, 2018-07-03 15:08:51

How to create and configure submenu?

There is a folder /kompaniya/
It contains .top_submenu.menu.php

<?
$aMenuLinks = Array(
  Array(
    "История", 
    "/kompaniya/istoriya/", 
    Array(), 
    Array(), 
    "" 
  ),
  Array(
    "Лицензии и сертификаты", 
    "/kompaniya/litsenzii-i-sertifikaty/", 
    Array(), 
    Array(), 
    "" 
  ),
  Array(
    "Партнеры", 
    "/kompaniya/partnery/", 
    Array(), 
    Array(), 
    "" 
  )
);
?>

How can I make the exact same menu in another section?
If I just rename the folder, it doesn't work, where is the binding done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2018-07-03
@lexstile

The logic is this: You have a company menu item and it looks at the kompaniya section, from this section it connects a menu (apparently of the 2nd level), in order to have such a menu in another section, you need to create .top_submenu.menu.php in the new root section

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question