Jump to content

prestashop and google+ profile badge - free tutorial


Recommended Posts

I want to share little know-how related to creating own google+ profile badges.

read how to create own google+ badge

 

how it will looks like?

of course you can create badge for own Google+ profile

nxS64ga.png

 

quick steps:

1) install free html block module or any other module related to inserting own code (for example: content box)

2) go to the google+ widget code generator and create own profile badge widget

3) open the html block module configuration page and paste your badge widget code

4) save changes and enjoy! :)

  • Like 3
Link to comment
Share on other sites

  • 6 months later...
  • 5 months later...

you use your code in tinymce editor

while you will paste code - disable it or use </> feature in tinymce to place custom code

 

don't paste it directly to editor!

 

Thanks man, i get it. First time use of HTML :ph34r:

Now when i type in the code as u told above, i see nothing.

Like it ignores the code.

Sorry to be a noob, hope you can help me :rolleyes:

Link to comment
Share on other sites

  • 9 months later...

Hi Vekia...I too am trying to paste html code into the </> section and after saving a lot is getting stripped out.

 

I paste this:

<div id="fb-root"></div>

<div id="facebook_block" class="col-xs-4">
<h4>Follow us on Facebook</h4>
<div class="facebook-fanbox">
<div class="fb-like-box" data-href="https://www.facebook.com/timelesstrendscorsets" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="false"></div>
</div>
</div>
 
But end up with this:
<div id="fb-root"></div>
<div id="facebook_block" class="col-xs-4">
<h4>Follow us on Facebook</h4>
<div class="facebook-fanbox">
<div class="fb-like-box"></div>
</div>
</div>
 
Any thoughts?
Link to comment
Share on other sites

  • 10 months later...

Hi Vekia,

I am using prestashop 1.6.1.1. and I would like to add the google+ badge.

The script I got from google is slightly different from your's:

"

<!-- Placez cette balise dans l'en-tête ou juste avant la balise de fermeture du corps de texte. -->

<script src="https://apis.google.com/js/platform.js" async defer>
  {lang: 'fr'}
</script>
<!-- Placez cette balise où vous souhaitez faire apparaître le gadget widget. -->
<div class="g-page" data-href="//plus.google.com/u/0/106597524995202446973" data-rel="publisher"></div>
"
So they say to paste the script before the </body> tag. So will it work if I paste it in a html block?
Thanks for your help.
Axel
Edited by axel31 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...