Let visitors share your web content with their Google friends

Composite.Community.Google.PlusOne adds Google's +1 Button on a page of your website. This button lets visitors recommend and share content on our website with their Google friends. When the visitor clicks the +1 Button on your site, a short entry appears on the +1 tab of his or her Google Profile and thus can be visible to his or her friends.

For more information on the +1 Button, please read http://www.google.com/webmasters/+1/button/.

How to implement

  1. Edit a page.
  2. Add the Composite.Community.Google.PlusOne function ( Insert > Function) or insert the similar code on the page:
     
    <f:function name="Composite.Community.Google.PlusOne" xmlns:f="http://www.composite.net/ns/function/1.0"> 
      <f:param name="URL" value="(specific URL if necessary)" /> 
      <f:param name="Size" value="standard" /> 
      <f:param name="Count" value="True" /> 
    </f:function>
  3. If necessary, set its optional parameters:
    • URL: The URL to be +1'd. If not specified, it defaults to the current page.
    • Size: The size of the +1 button to display. 'standard' by default. Other options include: 'small',  'medium', 'tall'.
    • Count: If 'true', it renders an aggregate count. 'true' by default.

Please note that if the Size is set to 'tall', the Count's value will be ignored because it will be always set to 'true'.

Requirements

Composite C1 version 2.1.1 or later

SHARE