Answer the question
In order to leave comments, you need to log in
How to make CNC in Bitrix instead of ID - a symbolic code for a self-written element?
There is a self-written element that has a detailed page.
Detail page output:
$APPLICATION->IncludeComponent(
'ugsever:vacancy',
'',
array('ELEMENT_ID' => $_REQUEST['ELEMENT_ID'])
);
array (
'CONDITION' => '#^/vacancies/([0-9]+)/.*#',
'RULE' => 'ELEMENT_CODE=$1',
'ID' => 'bitrix:news.list',
'PATH' => '/vacancies/detail.php',
'SORT' => 100,
),
#SITE_DIR#/vacancies/#ELEMENT_CODE#/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question