Jump to content

Social Networking Block on right side of the website


Recommended Posts

You can go sharethis site http://sharethis.com/publishers/get-sharing-tools and

 

do

1. select website

2. select style as bar as you like to show side

3. select your style and customize which button you like

and then generate your button it will be like

 

Place these script tags in "head" section of your html.

<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript" src="http://s.sharethis.com/loader.js"></script>

 

 

which you can put on header.tpl of your theme and than

Now, put these scripts at the end of your page. They contain the parameter preferences in JSON format.

 

<script type="text/javascript">stLight.options({publisher: "ur-c6ce6e77-32ed-7328-2f23-10c5c3672714", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
<script>
var options={ "publisher": "ur-c6ce6e77-32ed-7328-2f23-10c5c3672714", "position": "left", "ad": { "visible": false, "openDelay": 5, "closeDelay": 0}, "chicklets": { "items": ["facebook", "twitter", "linkedin", "pinterest", "email", "sharethis"][spam-filter];
var st_hover_widget = new sharethis.widgets.hoverbuttons(options);
</script>

 

which you can put on your footer.tpl not that you need to give space between

( {

as

{$variable}  .. { is smarty tag start and } is close tag

And it will generate the widget on your site.

Link to comment
Share on other sites

×
×
  • Create New...