D
D
DDidukh2018-03-22 18:52:12
1C-Bitrix
DDidukh, 2018-03-22 18:52:12

Bitrix: how to add text for a menu item?

The point is this. I made a similar feature for the main menu item (going into the extended menu, added a parameter for the "Company" item, displayed it in the menu template
5ab3cfb068344270477463.png
) .
Do not tell me how you can add text subsections and where to shove the parameter?
It should be something like this: 5ab3d0c10363b616959062.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artes, 2018-03-23
@SMSdesign

customize the menu component :) this is exactly what no one has done before, because the essence of the need is not clear.
But there are at least two ways
1) Since the menu item does not have the concept of text-description, enter it as a parameter and display it by analogy with class, etc. https://smsdesign.com.ua/blog/bitrix/otkrytie-ssyl... - then display in the template
2) More logical, use the test of the section to which the current menu item belongs and pull it into the template.

D
DDidukh, 2018-03-23
@DDidukh

In the left menu, I can do it. But now I need to do it in the TOP menu, put down the phrase from the parameter in the sub-items (where the drop-down menu is).
How to set the parameter in this case? At the left_menu level or at the top_menu level?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question