Storyteller
Проверенные
- Сообщения
- 140
- Реакции
- 23
- Баллы
- 720
Не видел что-бы про телеграмм писали так что держите:
Шаблон
Перед ним вставьте следующий код:
Шаблон
Перед ним вставьте следующий код:
ps.прошу перенести т.к нет прав там писать
Шаблон
share_controls.less.
Найдите блок:
Less:
&.shareButtons-button--facebook
{
&:hover { background-color: #3B5998; }
> i:before { .m-faContent(@fa-var-facebook, .58em); }
}
Less:
&.shareButtons-button--telegramm
{
&:hover { background-color: #1E90FF; }
> i:before { .m-faContent(@fa-var-telegram, 1.29em); }
}
Шаблон
share_page_macros.
Найдите блок:
HTML:
<xf:if is="$xf.options.facebookLike">
<a class="shareButtons-button shareButtons-button--facebook" data-href="https://www.facebook.com/sharer.php?u={url}">
<i aria-hidden="true"></i>
<span>{{ phrase('facebook') }}</span>
</a>
</xf:if>
HTML:
<a class="shareButtons-button shareButtons-button--telegramm" data-href="https://t.me/share/url?url={url}">
<i aria-hidden="true"></i>
<span>Telegramm</span>
</a>