V
V
Vlad Gromov2019-03-24 00:31:30
1C-Bitrix
Vlad Gromov, 2019-03-24 00:31:30

When you exit the Bitrix admin panel, the slider disappears, what's wrong?

When you exit the Bitrix admin panel, the slider, the slides of which were created as elements of the infoblock, disappears.
Where is the mistake?
5c96a534c37e3661150167.jpeg5c96a68a2aa12400726409.jpeg
<?$APPLICATION->IncludeComponent(
"bitrix:news.list",
"slider",
array(
"ACTIVE_DATE_FORMAT" => "dmY",
"ADD_SECTIONS_CHAIN" => "Y",
"AJAX_MODE" => "N",
" AJAX_OPTION_ADDITIONAL" => "",
"AJAX_OPTION_HISTORY" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"CACHE_FILTER" => "N",
"CACHE_GROUPS" => "N ",
"DISPLAY_DATE" => "Y",
"DISPLAY_NAME" => "Y",
"DISPLAY_PICTURE" => "Y",
"DISPLAY_PREVIEW_TEXT" => "Y",
"DISPLAY_TOP_PAGER" => "N",
"FIELD_CODE" => array(
0 => "DETAIL_PICTURE",
1 => "",
),
"FILTER_NAME" => "",
"HIDE_LINK_WHEN_NO_DETAIL" => "N",
"IBLOCK_ID" => "1",
"IBLOCK_TYPE" => "sliders ",
"INCLUDE_IBLOCK_INTO_CHAIN" => "Y",
"INCLUDE_SUBSECTIONS" => "Y",
"MESSAGE_404" => "",
"NEWS_COUNT" => "6",
"PAGER_BASE_LINK_ENABLE" => "N",
"PAGER_DESC_NUMBERING" => "N",
"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
"PAGER_SHOW_ALL" => " N",
"PAGER_SHOW_ALWAYS" => "N",
"PAGER_TEMPLATE" => ".default",
"PAGER_TITLE" => "News",
"PARENT_SECTION" => "",
"PARENT_SECTION_CODE" => "",
"PREVIEW_TRUNCATE_LEN" => " ",
"PROPERTY_CODE" => array(
0 => "",
1 => "",
),
"SET_BROWSER_TITLE" => "Y",
"SET_LAST_MODIFIED" => "N",
"SET_META_DESCRIPTION" => "Y",
"SET_META_KEYWORDS" => "Y",
"SET_STATUS_404" => "N",
"SET_TITLE" => "Y",
"SHOW_404" => "N",
"SORT_BY1" => "ACTIVE_FROM",
"SORT_BY2" => "SORT",
"SORT_ORDER1" => "DESC",
"SORT_ORDER2" => "ASC",
"STRICT_SECTION_CHECK" => "N",
"COMPONENT_TEMPLATE" => "slider"
),
false
);?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2019-03-24
@Vikkiners

In the infoblock settings, you must grant viewing rights:
Configuring this IB -> Access -> view for all users

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question