I
I
Igor Karachentsev2018-03-12 14:04:10
1C-Bitrix
Igor Karachentsev, 2018-03-12 14:04:10

How to get component parameters in Bitrix breadcrumbs?

There is a common component of Bitrix "breadcrumbs". The task is completely trivial. It is necessary to make a component parameter that will change the color scheme of this component (in the layout, the color changes precisely by the class, and in order not to produce an infinite number of templates, we decided to do so). As a result, I fiddle all day, the component basically refuses to display parameters in the template. Long and persistent research, it was revealed that everything happens through a deferred function, overloaded it, it turned out that, in turn, drags another function. And at this moment the pain begins, as everything falls.
Does anyone have any idea how to pass component parameters to the template, how does it work everywhere? Or you still have to write your own breadcrumbs (I wouldn’t want to, because it’s a pain in Bitrix).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Ivanov, 2018-03-13
@ZZiliST

And what prevents JS from changing the class name depending on the ID of the current element or section?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question