A
A
Anton2016-07-23 10:02:34
PHP
Anton, 2016-07-23 10:02:34

How to remove reviews in the Aspro: Market template?

Friends such a question, you need to edit the Bitrix template - remove the feedback component - and put your cackle. Go to the template path /bitrix/templates/aspro_mshop/components/bitrix/catalog.element/main find file component_epilog.php delete this code!


<?$APPLICATION->IncludeComponent(
"bitrix:forum.topic.reviews",
"main",
Array(
"CACHE_TYPE" => $arParams["CACHE_TYPE"],
"CACHE_TIME" => $arParams["CACHE_TIME"],
"MESSAGES_PER_PAGE" => $arParams["MESSAGES_PER_PAGE"],
"USE_CAPTCHA" => $arParams["USE_CAPTCHA"],
"FORUM_ID" => $arParams["FORUM_ID"],
"ELEMENT_ID" => $arResult["ID" ],
"IBLOCK_ID" => $arParams["IBLOCK_ID"],
"AJAX_POST" => $arParams["REVIEW_AJAX_POST"],
"SHOW_RATING" => "N",
"SHOW_MINIMIZED" => "Y",
"SECTION_REVIEW" => "Y",
"POST_FIRST_MESSAGE" => "Y",
"MINIMIZED_MINIMIZE_TEXT" => GetMessage("HIDE_FORM"),
"MINIMIZED_EXPAND_TEXT" => GetMessage("ADD_REVIEW"),
"SHOW_AVATAR" => "N",
"SHOW_LINK_TO_FORUM" => "N",
"PATH_TO_SMILE" => "/bitrix /images/forum/smile/",
), false
);?>

and paste your script!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question