Vinoteca: wine shop on 1C-Bitrix (module, template, components, pages)

This commit is contained in:
jimagie committed 2026-10-22 19:35:23 +05:00
commit 0590195880
593 files changed
+27942

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
<?php
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
$APPLICATION->IncludeComponent("bitrix:news", "vinoteca-news", array(
"IBLOCK_TYPE" => "news",
"IBLOCK_ID" => \Jinove\Vinoteca\News::iblockId(),
"CHECK_DATES" => "Y",
"SEF_MODE" => "Y",
"SEF_FOLDER" => \Jinove\Vinoteca\News::folder(),
"SEF_URL_TEMPLATES" => array(
"news" => "",
"section" => "",
"detail" => "#ELEMENT_CODE#/",
),
"DETAIL_FIELD_CODE" => array("PREVIEW_PICTURE", "PREVIEW_TEXT", "DETAIL_TEXT", "DETAIL_PICTURE", "ACTIVE_FROM", "TIMESTAMP_X"),
"DETAIL_PROPERTY_CODE" => array("NAME_EN", "NAME_PL", "PREVIEW_TEXT_EN", "PREVIEW_TEXT_PL", "DETAIL_TEXT_EN", "DETAIL_TEXT_PL"),
"USE_SEARCH" => "N",
"USE_RSS" => "N",
"USE_RATING" => "N",
"USE_CATEGORIES" => "N",
"USE_FILTER" => "N",
"USE_REVIEW" => "N",
"USE_PERMISSIONS" => "N",
"AJAX_MODE" => "N",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "36000000",
"CACHE_GROUPS" => "N",
"SET_STATUS_404" => "Y",
"SHOW_404" => "Y",
"FILE_404" => "",
"MESSAGE_404" => "",
), false);
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php");