More in this section
Forums / Designing with Sitefinity / social book mark - open in new window

social book mark - open in new window

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    09 Dec 2009
    Link to this post
    Hi

    Currently clicking on a social bookmark opens in same window
    is there a setting to open in new window?

    thanks
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    09 Dec 2009
    Link to this post
    Hello Quade,

    Thank you for using our services.

    You can edit the control template for single news items. Go to ~/Sitefinity/ControlTemplates/News/ListPageDetails.ascx and add a target attribute to the social bookmark links:
    <asp:Repeater ID="Bookmarks" runat="server">
        <HeaderTemplate><p class="sf_postBookmark"></HeaderTemplate>
        <ItemTemplate>
            <asp:HyperLink ID="BookmarkLink" runat="server" Target="_blank">
                <asp:Image ID="BookmarkImage" runat="server" />
            </asp:HyperLink>
        </ItemTemplate>
        <FooterTemplate></p></FooterTemplate>
    </asp:Repeater>

    Then map the template and restart the website. This should do the trick.

    Regards,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered