More in this section

Forums / Developing with Sitefinity / AddThis button on bookmarks?

AddThis button on bookmarks?

2 posts, 1 answered
  1. Bruno Michels
    Bruno Michels avatar
    125 posts
    Registered:
    16 Apr 2010
    11 May 2010
    Link to this post
    How can I add a "Addthis" button on SocialBookmarkTemplate.xml ?
    Or instead of the bookmarkstemplate just include this button after some content?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    11 May 2010
    Link to this post
    Hi Bruno Michels,

    Addthis uses widjetjs. You could map ListPageDetail.ascx external template of the control you want to modify ( NewsView, BlogPosts, ImageGallery etc) and add the Addthis script to the template.

    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style"><a href="http://www.addthis.com/bookmark.php?v=250&;username=xa-4be9426d3d333333" class="addthis_button_compact">Share</a> </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4be9426d3d333333" originalAttribute="src" originalPath="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4be9426d3d333333"></script>
    <!-- AddThis Button END -->


    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
    Answered
2 posts, 1 answered