Extension, Plugin

EE 1
EE 2
EE ShareThis

Developer

Protean Web

3rd Party (Commercial)
Current Version: 1.2.2
Release Date: Dec 9, 2011

License Agreement

Buy Now!

$5.00
Qty:

Compatibility

  • LG Addon Updater
  • Multi Site Manager
  • Stand Alone Entry Form

Requirements

  • jQuery for the Control Panel

Tags

Provides an easy way to add ShareThis buttons (including facebook like, google plus, and twitter buttons) to an EE site.

This plugin literally supports every aspect of the ShareThis API. An included extension allows for the setting of global defaults, but parameters can still be overridden at the tag level.  Both the ShareThis native parameter names, as well as more EE-friendly versions can be used.

Plugin usage is pretty straight forward, and whatever isn’t obvious from the Extension Settings page can be found here or in the Share This Documentation

CHANGELOG:
==========

1.0
Inital release.

1.1
Updated documentation. Cleanup.

1.2
Fixed bug that occurred when automatically outputting sharethis javascript.
Added new display types for FacebookLike button

1.2.1
Fixed bug that prevented the google plusone buttons from displaying properly.

1.2.2
Fixed bug where the autoloading of javascript didn’t occur.
Changed javascript tag parameter name from url and ssl_url, to script_url and script_ssl_url
Added more explicit instructions to documentation

Open Graph Tag: {exp:sharethis:og}
———————————————————————————-

Example:

{exp:sharethis:og title=“My Website” url=“http://google.com”}

Produces: (assuming there isn’t a global image or description set)

<meta content="My Website" property="og:title" />
<meta content="http://google.com" property="og:url" />
<meta content="article" property="og:type" />


JavaScript Tag: {exp:sharethis:js}
——————————————————————————
If the js tag isn’t included before the first button tag is used, the javascript is
automatically added based on the extension global defaults.

Example:

{exp:sharethis:js key="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ssl="yes" load_late="yes"}

Produces:

<script type=“text/javascript”>
var __st_loadLate=true;
</script>
<script type=“text/javascript”>
var switchTo5x=true;
</script>
<script type=“text/javascript” src=“https://ws.sharethis.com/button/buttons.js”></script>
<script type=“text/javascript”>
stLight.options(&#123;“publisher”:“xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,“theme”:“1”;);
</script>


[removed]
var __st_loadLate=true;
[removed]
[removed]
var switchTo5x=true;
[removed]
[removed][removed]
[removed]
stLight.options({“publisher”:“xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,“theme”:“1”,“tracking”:false,“publisherGA”:”“,“doneScreen”:true,“onhover”:true,“embeds”:false,“popup”:false,“offsetLeft”:”“,“offsetTop”:”“,“headerTitle”:”“,“headerColor”:”“,“headerTextColor”:”“,“mainWidgetColor”:”“,“footerColor”:”“,“serviceBarColor”:”“,“shareButtonColor”:”“,“helpTextColor”:”“,“textBoxFontColor”:”“});
[removed]


Button Tag: {exp:sharethis:button}
—————————————————————————————————————————————————

Example:

{exp:sharethis:button services=“sharethis|facebook|twitter” title=“My page” url=“http://google.com” after=”<br />”}

Produces:







Facebook Like Tag: {exp:sharethis:fblike}

Example:

{exp:sharethis:fblike display="hcount" st_title="My Website"}

Produces:



GooglePlus Tag: {exp:sharethis:plusone}

Example:

{exp:sharethis:plusone summary="A very brief summary."}Tag Content!!{/exp:sharethis:plusone}

Produces:

Tag Content!!

Non-JS link Tag: {exp:sharethis:link}
—————————————————————————————————————————————————
Produces a link to take a non-js abled user to the ShareThis page where they can still share content.

Example:

{exp:sharethis:link}A non js-dependent link to sharethis{/exp:sharethis:link}

Produces:

A non js-dependent link to sharethis

This is just the tip of the iceberg. There are way too many settings to display here!
I normally enjoy giving my extensions away for free, but supporting an ever-changing API like ShareThis would be too costly to maintain. Hopefully the small $5 cost won’t deter people from using the extension

This entry was last updated January 11, 2012, 9:52 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!