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

Forums / Developing with Sitefinity / Add Google Buzz link

Add Google Buzz link

6 posts, 0 answered
  1. Troy Lawrence
    Troy Lawrence avatar
    56 posts
    Registered:
    07 Jan 2010
    10 May 2010
    Link to this post
    I'm wanting to add the Google buzz link to the SocialBookmarkTemplate.xml file, but I'm not sure of the code.  The Twitter link looks like this:

        <bookmark title="Twitter" name="twitter">
          <url><![CDATA[http://twitter.com/home?status=Read "{1}" from {0}]]></url>
        </bookmark>

    What code is needed for the Google link?
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    10 May 2010
    Link to this post
    Hello Troy Lawrence,

    You can use something like this:
    <bookmark title="Google Buzz" name="GoogleBuzz">
      <url><![CDATA[http://www.google.com/buzz/post?message={1}&url={0}]]></url
    </bookmark>

    You can get the google buzz icons from here. For more information, please check the Google Buzz Hyperlink API.

    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.
  3. Troy Lawrence
    Troy Lawrence avatar
    56 posts
    Registered:
    07 Jan 2010
    10 May 2010
    Link to this post
    Ok, great.  I've created a .png icon for Google Buzz, but I'm not sure how Sitefinity will know it's there?
    I put the icon here:
    Sitefinity/ControlTemplates/Libraries/SocialBookmark/Buzz_24.png



      
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    10 May 2010
    Link to this post
    Hi Troy Lawrence,

    The name and title of the bookmark should be the same as the name of the image

    <bookmark title="Buzz" name="Buzz">
         <url><![CDATA[http://www.google.com/buzz/post?message={1}&url={0}]]></url>
       </bookmark>

    image - Buzz_24.png - The number after the underscore define the size of the image - ImageProperty.Size of the bookmark.

    Regards,
    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.
  5. Troy Lawrence
    Troy Lawrence avatar
    56 posts
    Registered:
    07 Jan 2010
    10 May 2010
    Link to this post
    Still doesn't seem to be working.  I uploaded the graphic to:
    Sitefinity/ControlTemplates/Libraries/SocialBookmark/Buzz_24.png

    The file I've been editing is located here:
    Sitefinity/ControlTemplates/Libraries/socialBookmarkTemplate.xml

    My xml file is located here.







  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    11 May 2010
    Link to this post
    Hello Troy Lawrence,

    For which control you are trying to add Bookmars support? If this is for Libraries module and Image Gallery control you should map the external template for the Presentation mode you use and add Repeater control as shown below for GalleryListViewItem.ascx

    <%@ Control Language="C#" %>
     
    <telerik:CssFileLink ID="CssFileLink1" FileName=""
     Media="screen" runat="server" EmbeddedFileName="Telerik.Libraries.Resources.ControlTemplates.Frontend.librariesCommonLayout.css"  />
     
    <div ID="content" runat="server">
        <p class="sf_backToPhotos"><asp:HyperLink ID="backToList1" runat="server" Text="<%$Resources:Gallery_GoBack %>" /></p>
        <p>
            <asp:HyperLink ID="PreviousItem" runat="server" Text="Previous" CssClass="sf_previousItem" />
            <asp:HyperLink ID="NextItem" runat="server" Text="Next" CssClass="sf_nextItem" />
        </p>
        <p class="sf_singleImage"><asp:Image ID="Img" runat="server" /></p>
        <p ID="TitleWrap" runat="server" class="sf_singleImageCaption">
            <strong><asp:Literal ID="Title" runat="server" /></strong>
        </p>
        <ul class="sf_singleImageData">
            <li ID="AuthorWrap" runat="server">
                <asp:Literal ID="Author" runat="server" />
            </li>
            <li ID="UploadDateWrap" runat="server">
                <asp:Literal ID="UploadDate" runat="server" />
            </li>
            <li ID="TagWrap" runat="server">   
                <asp:Repeater ID="Tags" runat="server">
                    <HeaderTemplate>
                        <strong><asp:Literal ID="Literal1" runat="server" Text="<%$Resources:Gallery_Tags %>" /></strong>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:HyperLink ID="tagLink" runat="server" />
                    </ItemTemplate>
                </asp:Repeater>
            </li>
        </ul>
         
         <asp:Repeater ID="Bookmarks" runat="server">
              <HeaderTemplate><ul class="sf_socialBookmarks"></HeaderTemplate>
              <ItemTemplate>
                <li>
                    <asp:HyperLink ID="BookmarkLink" runat="server">
                        <asp:Image ID="BookmarkImage" runat="server" />
                    </asp:HyperLink>
                </li>
              </ItemTemplate
              <FooterTemplate></ul></FooterTemplate>
          </asp:Repeater
    </div>



    All the best,
    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.
Register for webinar
6 posts, 0 answered