Answer the question
In order to leave comments, you need to log in
Bitrix. bitrix:news output of top-level elements and subsections?
Is such a conclusion even possible?
Url settings:
The bottom line is that with such settings, the transition to elements that are in the test section is carried out normally, and when you go to elements that are without a section, a list of all news for this url is displayed
Answer the question
In order to leave comments, you need to log in
Well, everything is correct. For an element without a section, the url is /news/CODEELEMENT/ - and this is your section page. Since the section most likely does not exist with such a code, all elements are displayed.
What do you want? What should be the logic of work?
Display element? You cannot do this with standard components, since there is no joint uniqueization of section and element codes. So you either need to do directly in /news/index.php the code that will choose which component to connect - complex news or single news.
Or customize a complex component (as I understand it, you use it) of news
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question