M
M
Maxim Grechushnikov2015-02-19 14:46:46
1C-Bitrix
Maxim Grechushnikov, 2015-02-19 14:46:46

Bitrix: How to make a path out of breadcrumbs?

There is a section
/catalog/quicksilver/dc/product_code
this path handles catalog.element
nowhere in the arResult variable I did not find the path to the site root.
How to make a path like
Home - catalog - quickesilver - dc - product name?
The trouble is that not SECTION_CODE_PATH is used, but only SECTION_CODE, that is,
my path is /catalog/dc/product_code

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Emelyanov, 2015-02-19
@babarun

It is not clear what it means to "make a path out of breadcrumbs"? The path to the site root is stored in the SITE_DIR constant.
Why don't you switch to SECTION_CODE_PATH ?

S
Sergey, 2015-02-19
@gangstarcj

For this, there is a ""Breadcrumb" component

R
Rad1calDreamer, 2015-02-25
@Rad1calDreamer

the documentation describes the method for editing the navigation chain

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question