I
I
Ilia Malashko2020-09-15 15:09:16
1C-Bitrix
Ilia Malashko, 2020-09-15 15:09:16

Why doesn't the complex news component redirect to detail.php?

Hello.

Previously, I set up a complex component, I can imagine what to do. But in this case, I can't seem to achieve the desired result.

It is necessary to configure what would be transferred from the list of news to detailed news.
The list of news is in the directory /9-modyley/
In the admin panel I specify the detail view URL in the component settings /9-modyley/#ELEMENT_CODE#/, on the page I change the component, I specify the same path, when I go to /9-modyley/{symbolic code of the article}/ news.php is still loaded Have you
tried specifying /9-modyley/test/? switch to /9-modyley/test/news.php loads again
Screenshots: 495zzZq
495zHJ7
495zIOc

What am I doing wrong? What am I missing? Tell me please.

PS Screenshots are not attached with links. I'll just leave it as text:
clip2net.com/s/495zzZq
clip2net.com/s/495zHJ7
clip2net.com/s/495zIOc

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PetrPo, 2020-09-15
@miv-men

I previously set up a complex component, I can imagine what to do

No, you don't. After reading the documentation, it would be possible not to ask stupid questions here.
Screen 1, where is SITE_DIR?
Information block page URL: #SITE_DIR#/9-modyley/
Detailed view page URL: #SITE_DIR#/9-modyley/#ELEMENT_CODE#/
Screenshot 2, 3 The CNC component is configured
incorrectly CNC directory (relative to the site root): /9- modyley/
Detail page: #ELEMENT_CODE#/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question