Jump to content

Integration Share This


Recommended Posts

Hallo

 

I want to add bookmarks from sharethis.com but don`t find module anywhere and i don`t understand how to add this codes to my products pages:

 

(This style is the most adaptable to any type of page design. We strongly recommend that you place them towards top of the page.)

  • Copy the span tags and place them where you want your buttons to appear in the code.
    <span class='st_email_large' displayText='Email'></span>
    [*]<span class='st_facebook_large' displayText='Facebook'></span>
    <span class='st_googleplus_large' displayText='Google +'></span>
    <span class='st_twitter_large' displayText='Tweet'></span>
    <span class='st_pinterest_large' displayText='Pinterest'></span>
    <span class='st_linkedin_large' displayText='LinkedIn'></span>
    <span class='st_sharethis_large' displayText='ShareThis'></span>
    [*]


2.Copy the script tags and place them inside and at the end of your "head" tag.

<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">stLight.options({publisher: "my-pub-id", doNotHash: true, doNotCopy: false, hashAddressBar: false});</script>

 

First code go to my product.tpl right?

But what i gonna do with second code? header.tpl or header.php - where to put it?

 

:)

Link to comment
Share on other sites

  • 1 year later...

[OFFTOPIC]

Hi, just wanna ask where did you find this code? 

Hallo

I want to add bookmarks from sharethis.com but don`t find module anywhere and i don`t understand how to add this codes to my products pages:


(This style is the most adaptable to any type of page design. We strongly recommend that you place them towards top of the page.)

  • Copy the span tags and place them where you want your buttons to appear in the code.
    <span class='st_email_large' displayText='Email'></span>
    [*]<span class='st_facebook_large' displayText='Facebook'></span>
    	<span class='st_googleplus_large' displayText='Google +'></span>
    	<span class='st_twitter_large' displayText='Tweet'></span>
    	<span class='st_pinterest_large' displayText='Pinterest'></span>
    	<span class='st_linkedin_large' displayText='LinkedIn'></span>
    	<span class='st_sharethis_large' displayText='ShareThis'></span>
    [*]
2.Copy the script tags and place them inside and at the end of your "head" tag.
<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">stLight.options({publisher: "my-pub-id", doNotHash: true, doNotCopy: false, hashAddressBar: false});</script>
First code go to my product.tpl right?
But what i gonna do with second code? header.tpl or header.php - where to put it?

:)

 

Link to comment
Share on other sites

×
×
  • Create New...