Güncelleme geldi bu konuyla ilgili ancak eski sürümlerde halen kuş ikonu duruyor paylaşım kısmında bunu x ile değiştirmeyi göstereceğim.
Aşağıdaki kodu extra.less şablonunda en alta ekle
share_page_macros şablonuna git ve aşağıdaki kodu bul
ve bu kodu aşağıdaki ile değiştir
Aşağıdaki kodu extra.less şablonunda en alta ekle
Kod:
.shareButtons-button.shareButtons-button--twitter:hover {
background-color: #000000;
}
.shareButtons--iconic .shareButtons-button>svg {
vertical-align: middle;
}
share_page_macros şablonuna git ve aşağıdaki kodu bul
Kod:
<xf:if is="$xf.options.tweet.enabled">
<a class="shareButtons-button shareButtons-button--brand shareButtons-button--twitter" data-href="https://twitter.com/intent/tweet?url={url}&text={title}{{ $xf.options.tweet.via ? '&via=' . $xf.options.tweet.via : '' }}{{ $xf.options.tweet.related ? '&related=' . $xf.options.tweet.related : '' }}">
<i aria-hidden="true"></i>
<span>{{ phrase('twitter') }}</span>
</a>
</xf:if>
ve bu kodu aşağıdaki ile değiştir
Kod:
<xf:if is="$xf.options.tweet.enabled">
<a class="shareButtons-button shareButtons-button--brand shareButtons-button--twitter" data-href="https://twitter.com/intent/tweet?url={url}&text={title}{{ $xf.options.tweet.via ? '&via=' . $xf.options.tweet.via : '' }}{{ $xf.options.tweet.related ? '&related=' . $xf.options.tweet.related : '' }}">
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg>
<span>{{ phrase('twitter') }}</span>
</a>
</xf:if>