| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How Do I Add A Google+ Badge In 4.5.0 ? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hello
I have been trying to add the Google+ Badge for my Google+ Page to my website but it dose not show I put the code in the header for the badge and the other part of the code where I would like the badge to render which I have been trying to add to /common_files/modules/Manufacturers/menu_manufacturers.tpl I also tried to add literal tags and still not luck, I done the same thing on my other website and it worked so not sure whats going on there any help I would be very thankful ![]() Version 4.5.0 beta 1 http://MartialArtsSupply.com.au |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Any info you can provide will help. https://developers.google.com/+/plugins/badge/ looks like a simple little code snippet that needs to be added.
What template are you trying to add it to? Are you using Webmaster mode to identify the proper template? Are you using a custom skin? Can you provide a link to the page where it should display? (So we can inspect the source) Ready to help,
__________________
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. |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Hello TotalTec
I am using Ideal Comfort template. I have tried to add it when in webmaster mode with no luck. I want the badge to go on the left hand side navigation just under gift certificates on all pages of our website. |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Dose anyone have any ideas? Please help.
|
|||||||||
#5
|
|||||||||
|
|||||||||
![]() 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. |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Still no luck I tried to add it again in **Your-Skin-Directory**/customer/left_bar.tpl then I tried typing Hello world in the same area of the code and still nothing shows on the website.
|
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Well that is actually a good thing. To ensure that they are not showing up, view source and use CTRL-F to search the source code of the page. They could be hiding behind something due to CSS.
Once you are certain that your changes are not affecting anything, then we can assume a couple of things: Either your templates are compiled and you need to refresh them by clearing the templates cache and/or running cleanup.php. Or you are simply editing the wrong template. When you use webmaster mode, do you see the left_bar.tpl I mentioned? Can you search in the debugging console window for the words left_bar.tpl? BTW: it would help if you updated your signature to include your xcart version.
__________________
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. |
|||||||||
#8
|
|||||||
|
|||||||
![]() Worked for me in /ideal_comfort/customer/left_bar.tpl
|
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|