Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
How exactly in Bitrix - the devil knows, but where the crumbs template is displayed - Take the page ID or its url, and if != this page, then output
Let's admit it, we won't let it, but why dissemble right away? for sure you need NOT to display crumbs on some other pages, while the solution may be radically different...
crumbs on Bitrix can be implemented in at least 5 ways, so the answer depends on your option, And your option is unknown, alas and oh, go you are my friend in Google!!!
Those. It is on ONE page not to display - it is to take an ID and enter it into the output condition of the component.
If you do not display on the pages of a component or section, then edit the template of that component or add a condition in conjunction with the section ID.
Here, BAT, because of the stupidity of Bitrix, BAT, you will have to sweat, here you, BAT, will not have an answer in the WordPress style. therefore, an hour of a Bitrix pro is equal to 1500-3000 rubles, this is not a WordPress student with 200 rubles per hour))), or even for a review)))
I would create a class for storing global parameters and enter all the necessary data there: IDs of infoblocks, addresses or IDs of pages on which breadcrumbs should be disabled, currency codes, and much more.
Next, in the result_modifier.php of the breadcrumb component template, it would check the validity of the condition based on data from the store.
And depending on this, he would make a decision to withdraw the crumbs.
This is one of many implementation options.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question