1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Custom Tweet This button for News items

Custom Tweet This button for News items

2 posts, 0 answered
  1. Patrick Julicher
    Patrick Julicher avatar
    31 posts
    Registered:
    28 Feb 2010
    02 Mar 2010
    Link to this post
    Has anyone managed to add a custom Tweet This button to News items or to the News section?

    Kind regards,  Patrick 
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    02 Mar 2010
    Link to this post
    Hello Patrick Julicher,

    Thank you for using our services.

    By default all News, Blogs, Events, or items from Images and Documents have a list of Social Bookmarks, which allow users Tweet, share on Facebook and other social networks. There is a twitter button which once clicked will direct the user ho his twitter account and tweet the article.

    If you are talking about this button, you should edit the control templates for the news view. You should download the external templates archive and edit ~/Sitefinity/ControlTemplates/News/ListPageMaster.ascx for news list and ~/Sitefinity/ControlTemplates/News/ListPageDetails.ascx. For the details view you can simply add the script they provide: 
    <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>

    Please note however that if your url is not accessible by the tweetmeme crawler your button will appear but will be partly not functional, for example if you are testing this on localhost.

    Kind regards,
    Radoslav Georgiev
    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.
2 posts, 0 answered