Answer the question
In order to leave comments, you need to log in
Banner on the main Bitrix site?
Hello!
there is a banner on the main page
, you need to change its picture, but in the edit mode when you hover over it, the ability to edit does not appear ..
tell me where to look?
here is his code:
<?if (IsModuleInstalled("advertising")):?> <?$APPLICATION->IncludeComponent(
"bitrix:advertising.banner",
"bootstrap",
Array(
"BS_ARROW_NAV" => "Y",
"BS_BULLET_NAV" => "Y",
"BS_CYCLING" => "N",
"BS_EFFECT" => "fade",
"BS_HIDE_FOR_PHONES" => "Y",
"BS_HIDE_FOR_TABLETS" => "N",
"BS_KEYBOARD" => "Y",
"BS_PAUSE" => "Y",
"BS_WRAP" => "Y",
"CACHE_TIME" => "36000000",
"CACHE_TYPE" => "A",
"COMPONENT_TEMPLATE" => "bootstrap",
"NOINDEX" => "Y",
"QUANTITY" => "3",
"TYPE" => "MAIN"
)
);?>
Answer the question
In order to leave comments, you need to log in
In the admin panel Marketing - Banner advertising - Banners
https://dev.1c-bitrix.ru/learning/course/index.php...
If there is no infoblock with slides in the admin panel, then you need to look for the component template and change it there. In your case, the path to the template will be something like /bitrix/templates/template_name/components/bitrix/bitrix:advertising.banner/bootstrap/template.php, or /local/templates/template_name/components/bitrix/bitrix:advertising. banner/bootstrap/template.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question