M
M
MaxEpt2015-10-05 02:40:38
PHP
MaxEpt, 2015-10-05 02:40:38

Why doesn't Bitrix want to work with CNC in navigation?

Why does Bitrix not want to accept such a page?
/dela/all/3/ ?
here is the code from urlrewrite.php
array(
"CONDITION" => "#^/dela/all/([0-9]+)+/#",
"RULE" => "PAGEN_1=$1",
"ID" => "bitrix:news",
"PATH" => "/dela/index.php",
),
array(
"CONDITION" => "#^/dela/all/#",
"RULE" => "",
"ID " => "bitrix:news",
"PATH" => "/dela/index.php",
),
The PAGEN_1 parameter comes, but the page is not navigated to, what could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Sorokin, 2015-10-06
@belobokin

/dela/all/3/

I understand correctly that 3 is the id of the section or element?
In this case, the rule should look like, for example
array(
"CONDITION" => "#^/dela/all/([0-9]+)+)/$#",
"RULE" => "CODE=$1",
"ID" => "bitrix:news ",
"PATH" => "/dela/index.php",
),
Please describe the problem in more detail. I'll help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question