A
A
Alexander Ivanov2016-04-04 17:44:43
1C-Bitrix
Alexander Ivanov, 2016-04-04 17:44:43

How to display the name of any section in Bitrix in any page?

Let's say I have a page with the following address www.site.ru/parent_1/parent_2/child/ .
How to display the name of the section www.site.ru/parent_1/parent_2/ on the page www.site.ru/parent_1/ using Bitrix? there is a component in bitrisk that can display all sections and subsections bitrix:catalog.section.list, but I don’t care for everything at once, but only one

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2016-04-04
@cimonlebedev

If you are using a complex component, then you need to look at what URL rules are written in it.
If they cling to the infa block, then just contact IB and parse the request.
If specified in the component, then parse the templates from the component's parameters.
Judging by the question, do you need a code?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question