View Single Post
  #5  
Old 04-25-2012, 03:37 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How Do I Add A Google+ Badge In 4.5.0 ?

Well lets see, I am going to assume that you are talking about the martial arts site in your signature.

I am not familiar with your template, but we can safely guess that the code needs to go in **Your-Skin-Directory**/customer/left_bar.tpl

Take a look at this template and see where the gift certificates are called:
<div class="gift-certificate">
<a href="giftcert.php"><img width="250" height="53" alt="Gift Certificates" src="./skin/ideal_comfort/images/custom/gc_link.png"></a><br><br>
</div>

Then below that create a new div:
<div class="google-plus">
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plus href="https://plus.google.com/{profileId}" rel="author"></g:plus>
</div>

Of course I don't know what your profile ID is.

When you try this what happens? If nothing displays, what happens when you replace the script with the words hello world? Does anything show up?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote