M
M
m4son2018-10-12 13:04:33
1C-Bitrix
m4son, 2018-10-12 13:04:33

How to add a variable in menu editing in 1C-Bitrix?

There is a menu, if you hover over the menu in edit mode and click "edit menu items", a menu editing panel will appear.
5bc07150565d9456091673.png
There are 2 variables indicated: title and link. How to add one more variable here - the path to the picture????

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Gritsuk, 2018-10-12
@m4son

It is in this window - no way. But if you click "Edit menu in the Control Panel" and on the "Advanced mode" page that opens, then you can add as many parameters as you like for menu items
5bc081034eb0e051034898.png

B
Bankir77, 2018-10-12
@Bankir77

Можно добавить дополнительные параметры:
Они добавляются и редактируются на странице "редактирования меню" в административной части в расширенном режиме (адрес страницы - YOUR_SITE.RU/bitrix/admin/fileman_menu_edit.php?extended=Y)
После заполнения, они будут доступны в массиве $arItem["PARAMS"]["YOUR_PARAM_NAME"] в шаблоне компонента меню.
Подробнее можно прочитать тут - drawit.ru/d/rasshirennye-parametry-redaktirovaniya...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question