Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[contribution] Social Bookmarks - Del.icio.us, Digg, Etc


sgostelow

Recommended Posts

Thank you for the contrib. I'm very new to this and was wondering if you could help me figure out why the google plus one wont line up?

 

Try changing this

 

<div style="font-size:10px; font-family:Verdana, Arial, Helvetica, sans-serif;text-align:center;">	
<fb:like send="false" layout="button_count" show_faces="false"></fb:like>
<a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<a <?php echo 'title="' . $product_info['products_name'] . ' - ' . '"'; ?> href="http://pinterest.com/pin/create/button/?url=<?php echo tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL')?>&&media=<?php echo 'http://www.flourconfections.com/images/' . $product_info['products_image'] ?>"></a>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
<!-- Google +1 button -->
<!-- Google +1 button   <g:plusone size="medium" annotation="bubble" width="24" href="http://www.!!!!yoursite!!!.com<? echo $_SERVER['PHP_SELF']."?products_id=". $product_info['products_id'];?>"></g:plusone> -->
<!-- Google +1 button end -->
</div>

 

To

 

<table border="0" cellpadding="0" cellspacing="0" align="center">  
<tr>

	 <td>
<fb:like send="false" layout="button_count" show_faces="false"></fb:like>
	 </td>

	<td>
<a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
	 </td>

	<td>
<a <?php echo 'title="' . $product_info['products_name'] . ' - ' . '"'; ?> href="http://pinterest.com/pin/create/button/?url=<?php echo tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL')?>&&media=<?php echo 'http://www.flourconfections.com/images/' . $product_info['products_image'] ?>"></a>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
	 </td>

	<td>
<!-- Google +1 button -->
<g:plusone size="medium" annotation="bubble" width="24" href="http://www.!!!yoursite!!!.com<? echo $_SERVER['PHP_SELF']."?products_id=". $product_info['products_id'];?>"></g:plusone>
<!-- Google +1 button end -->
</td>

</tr>
</table>

 

Don't forget to change !!!yoursite!!!

Link to comment
Share on other sites

  • Replies 79
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...
  • 1 year later...

I'm trying to update a few things on an old oscommerce site (2.2) and I've added this contribution.

I'm having problems with facebook share. It works mostly ok, but it doesn't take into account the site's language. It displays the shared information only in the language defined as default in the admin...

 

any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...