Answer the question
In order to leave comments, you need to log in
How to add an avatar to user comments?
Friends, tell me, please. I use bitrix:catalog.comments for news comments. They are tree-like, so I chose them. How to add avatars to user comments?
<?$APPLICATION->IncludeComponent(
"bitrix:catalog.comments",
"comment",
Array(
"AJAX_POST" => "Y",
"BLOG_TITLE" => "Комментарии",
"BLOG_URL" => $arParams['BLOG_URL'],
"BLOG_USE" => "Y",
"CACHE_GROUPS" => $arParams['CACHE_GROUPS'],
"CACHE_TIME" => "3600",
"CACHE_TYPE" => "A",
"COMMENTS_COUNT" => "30",
"ELEMENT_CODE" => "",
"ELEMENT_ID" => $arResult['ID'],
"EMAIL_NOTIFY" => "N",
"FB_USE" => "N",
"IBLOCK_ID" => "1",
"IBLOCK_TYPE" => "simple",
"PATH_TO_SMILE" => "/bitrix/images/blog/smile/",
"RATING_TYPE" => "standart",
"SHOW_DEACTIVATED" => "N",
"SHOW_RATING" => "Y",
"SHOW_SPAM" => "Y",
"TEMPLATE_THEME" => "blue",
"URL_TO_COMMENT" => "",
"VK_USE" => "N",
"WIDTH" => ""
)
);?>
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