S
S
Sergey Serov2019-02-09 02:05:11
1C-Bitrix
Sergey Serov, 2019-02-09 02:05:11

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" => ""
)
);?>

In technical support they say that this component does not support displaying avatars, so you can customize the component template. Maybe someone faced such a problem? How to decide? Where to see?

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