xF1 Add AddThis button to "Share This Page" section

ven0m

Administrator
Staff member
Administrator
Moderator
Platinum
xenForo 2.x.x
xenForo 1.x.x
Contributor
vBulletin All Access Pass
The Chest
Verified
Ultra Platinum VIP
Platinum VIP
Gold VIP
Silver VIP
Premium
Member
Jul 17, 2005
20,187
7,169
321
localhost
REKT submitted a new resource:

- Converted from thread...

Compatible XF Versions:
  • 1.2
  • 1.3
  • 1.4
  • 1.5
Using TMS or add these code to share_page template.

Add this below <xen:hook name="share_page_options"> line:

Code:
<div class="shareControl" style="width:107px">
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_counter addthis_pill_style" addthis:url="{$url}" {xen:if {$thread.title}, 'addthis:title="{xen:helper threadPrefix, $thread, escaped}{$thread.title}"'}></a>
</div>
<script...

 
Last edited: