Answer the question
In order to leave comments, you need to log in
Why does 1s-bitrix not display the component in the list?
I'm making my first component from scratch. The problem is that it is not displayed in the list of components (when changing the page as HTML): it is not displayed either in the Content - Catalog - Product Documentation, or in the search by name.
File structure:
/local/components/module/catalog.documentagion/
-.description.php
-.parameters.php
-component.php
-lang/
--ru/
---.description.php
---.parameters.php
- templates/
--.default
---template.php
---etc.
.description.php:
<?
$arComponentDescription = array(
"NAME" => GetMessage("CAT_DOC_DESCR_NAME"),
"DESCRIPTION" => GetMessage("CAT_DOC_DESCR_DESCR"),
"PATH" => array(
"ID" => "content",
"CHILD" => array(
"ID" => "catalog",
"NAME" => GetMessage("CAT_DOC_DESCR_CATALOG"),
"SORT" => 30,
"CHILD" => array(
"ID" => "catalog_cmpx",
),
),
),
);
?>
<?
$MESS['CAT_DOC_DESCR_NAME'] = 'Документация товаров';
$MESS['CAT_DOC_DESCR_DESCR'] = 'Страница со списком документации всех товаров. Требует инфоблоков с соответствующей структурой: Документы, Типы документов.';
$MESS['CAT_DOC_DESCR_CATALOG'] = 'Каталог';
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