V
V
v1rage2022-02-02 01:14:01
1C-Bitrix
v1rage, 2022-02-02 01:14:01

How to show two articles with the same character code?

Good evening, I ask you for help with setting up the CNC.

There are two articles in two sections but with the same character code:
1) website.rf/services/first name of the service/order_service
2) website.rf/services/second name of the service/order_service

And when I try to follow the first link, I get the output of the service material at number 2.

Infoblock settings:
Enabled - Allow selection of the main section for binding.
b1f7c4dce598623cf208eda5107743d3.png

Section settings:
Enabled - Strict section check
3f0a5fed9be3a2a569266c0ec628b8f4.png

The bitrix:news format component itself

Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
tgarl, 2022-02-03
@tgarl

In general , Yaroslav Alexandrov told you correctly, but did not explain why. And all because when the element is displayed, there is no check for its belonging to the section, it simply looks for the element with the symbolic code "order_service".
And very often, customers begin to make claims for arbitrary duplicates of pages with non-existent sections, while initially this point is not specified, since the client does not know such nuances, and the developers for the most part do everything on the basic components and without additional reservations do not make additional checks.
Not so long ago (relatively) changes were made to the catalog component and a checkmark was added to the parameters to check the path to the element. It might work with her, but I'm honestly not sure about it.

A
Alexander, 2022-02-02
@idruweb

the settings are correct, so just debug

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question