EE 1
EE 2
EE ShareThis

Developer

Protean Web

3rd Party (Free)

24 downloads (last 90 days)

MIT License Download v1.2.2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Entry API
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Extension, Plugin

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

Update
———————————-
I’m going to have very little time for support over the next year, so I’m offering the extension up for free now. Thanks to all that purchased the add-on and made it possible for me to spend some time creating this! I’ll put it up on github shortly, so feel free to fork it and make it better!

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>

 


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

Example:

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

Produces:

<span class="st_sharethis" displaytext="Share this"  st_url="http://google.com" st_title="My page"></span><br />
<span class="st_facebook" displaytext="Share this" st_url="http://google.com" st_title="My page"></span><br />
<span class="st_twitter" displaytext="Share this" st_url="http://google.com" st_title="My page"></span><br />


Facebook Like Tag: {exp:sharethis:fblike}

Example:

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

Produces:


<span st_title=“My Website” class=“st_fblike_hcount”></span>

GooglePlus Tag: {exp:sharethis:plusone}

Example:

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

Produces:

<span st_summary=“A very brief summary.” class=“st_plusone”>Tag Content!!</span>

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 title=“A non js-dependent link to sharethis” target=“_blank” href=“http://www.sharethis.com/share?publisher=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&amp;url=&amp;title=&amp;image=&amp;summary=&amp;text=Share+this”>A non js-dependent link to sharethis</a>

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

Download EE ShareThis

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.2.2 2012-07-09 10:32 AM

This entry was created October 17, 2011, 9:22 am.
This entry was last updated October 10, 2012, 12:43 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!