E
E
Ex1st2021-01-14 11:09:43
1C-Bitrix
Ex1st, 2021-01-14 11:09:43

Why did the detailed view of the Bitrix element stop working?

There is an infoblock, it is also a catalog. When I click "details" instead of the detail page of the element, the general page with the catalog opens.
Infoblock CNC settings:
5ffffbaad70cf477606320.png
Component settings:
5ffffbd9c6be5475572388.png
5ffffbe06a253768397060.png
URLrewrite content:

<?php
$arUrlRewrite=array (
  3 => 
  array (
    'CONDITION' => '#^/catalog/#',
    'RULE' => '',
    'ID' => 'bitrix:catalog',
    'PATH' => '/catalog/index.php',
    'SORT' => 100,
  ),
  0 => 
  array (
    'CONDITION' => '#^/rest/#',
    'RULE' => '',
    'ID' => NULL,
    'PATH' => '/bitrix/services/rest/index.php',
    'SORT' => 100,
  ),
  2 => 
  array (
    'CONDITION' => '#^/news/#',
    'RULE' => '',
    'ID' => 'bitrix:news',
    'PATH' => '/news/index.php',
    'SORT' => 100,
  ),
);


In which direction to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-01-14
@kikher

Click the checkbox "Enable CNC support" and everything should work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question