Home
Getting Started
Solutions
Tutorials
Tips
SE Optimization
Customizing OL
Help and How To
Downloads
Services
Frequently Asked Question
Contact Us

How to add ShareThis Widget

1.  Sign up for ShareThis at http://sharethis.com.  Click the Get the Button link.

 

2.  Customize your button and click Get ShareThis code.  You will have to create an account, once you have created your account you will be give the copy/paste code.

 

3.  Paste the following base code into the Custom Footer Module:

 

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[

 

]]>
</xsl:template>
</xsl:stylesheet>

 

 

4.  Next paste the ShareThis code after the <![CDATA[ tag in the Custom Footer Module:

 

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
<script type="text/javascript" src="
http://w.sharethis.com/button/sharethis.js#publisher=8ff0e6d1-0a7f-4e7d-843e-06148c54c313&amp;type=website&amp;style=vertical"></script>
]]>
</xsl:template>
</xsl:stylesheet>

 

Notes:  To use the Custom Footer module, you will first need to have Advanced Design Features enabled, which can be found in the Page Manager under Site Actions.  If the Custom Footer module gives an error, try either the Custom Header Module or Custom Navigation module.

Resources

Updated March 24, 2010



Links

ShareThis

 

Example:



Search Website