Author Topic: Facebook Like & Tweet Button Code for Flypage (SOLVED)  (Read 19784 times)

rupesh

  • Jr. Member
  • **
  • Posts: 113
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #15 on: May 24, 2012, 15:27:09 pm »


hello sir,
first of all thanks for sharing your code but i ddint got any buttons for google and facebook share instead i got button called PIn

see "http://www.elifeshopping.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=286&virtuemart_category_id=41"



still it is not showing! Can you tell me what is the problem?

Thank you
rupesh

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #16 on: May 24, 2012, 18:12:45 pm »

add the css to your CSS file, NOT the share.php
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

rupesh

  • Jr. Member
  • **
  • Posts: 113
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #17 on: May 25, 2012, 13:27:46 pm »

add the css to your CSS file, NOT the share.php

solved but still its not showing google+
Is this code useful
<div class="gplus">
<div class="g-plusone" data-size="medium"></div></div>


thanks for consideration
rupesh

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #18 on: May 25, 2012, 16:46:53 pm »

add the css to your CSS file, NOT the share.php

solved but still its not showing google+
Is this code useful
<div class="gplus">
<div class="g-plusone" data-size="medium"></div></div>


thanks for consideration
rupesh

for gplus and pinterest

These codes have to be in the template

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>

before
</body>
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #19 on: May 30, 2012, 14:15:56 pm »
guys, for anyone that copied and pasted the code I wrote.


!!!!!!!!!!   There was an error in it

The alt text of the links said

"Share OF Twitter"

and "Share OF Facebook"

please correct yours to say 'ON'
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

rupesh

  • Jr. Member
  • **
  • Posts: 113
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #20 on: June 08, 2012, 09:41:54 am »
guys, for anyone that copied and pasted the code I wrote.


!!!!!!!!!!   There was an error in it

The alt text of the links said

"Share OF Twitter"

and "Share OF Facebook"

please correct yours to say 'ON'

hiii Banquet! Thanks for giving such useful tips on facebook and google like!

Its works on my site but images used for sharing products or like products are different than product images see here
"http://elifeshopping.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=142&virtuemart_category_id=14&lang=en"


Thank you
Rupesh

vassilis3

  • Beginner
  • *
  • Posts: 4
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #21 on: July 26, 2012, 16:40:40 pm »
the script share.php works only in vm2?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #22 on: July 26, 2012, 16:54:14 pm »
the script share.php works only in vm2?

yes

, i think so
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

vassilis3

  • Beginner
  • *
  • Posts: 4
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #23 on: July 26, 2012, 17:56:54 pm »
the script share.php works only in vm2?

yes

, i think so

I have vm 1.1.8 and I think is complicated to upgrade I feel safe in this version
I take a shot on vm 1.1.8 in one of my mirror site just for testing
take a look http://www.ilightyou.gr/component/virtuemart/?page=shop.product_details&flypage=flypage.tpl&product_id=860&category_id=14
it dosent work properly either because you are right or because i have made a mistake
any idea?

congthao

  • Beginner
  • *
  • Posts: 1
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #24 on: July 27, 2012, 05:07:04 am »
A stupid question but which CSS file should I place the CSS code in?

Thank you

rupesh

  • Jr. Member
  • **
  • Posts: 113
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #25 on: July 27, 2012, 10:23:51 am »
A stupid question but which CSS file should I place the CSS code in?

Thank you

You can put it into your template css!

vengabg

  • Beginner
  • *
  • Posts: 10
Re: Facebook Like & Tweet Button Code for Flypage (SOLVED)
« Reply #26 on: August 01, 2012, 12:15:25 pm »
Hello BanquetTables.pro,

OK I use your code for Facebook like on the flypage but show mi red error when give a Like.

I use this code (<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode("http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]); ?>&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:65px"></iframe>)

The red error is: (Your og:type object name has disallowed characters in it. It must match [a-z][a-z0-9._]*)

Can you help me to fix this problem?