- Posts: 138
- Thank you received: 0
Facebook like button and others
How would I integrate the facebook "like" and twitter button/links into a product page?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have try to add both the tweet and facebook like button given the code provided by both sites. The twitter code works fine but the fb code is not working for someone reason. Maybe I need to change something. Here are both codes.
<script src=" connect.facebook.net/en_US/all.js#xfbml=1 ">
<p><a class="twitter-share-button" href=" twitter.com/share ">Tweet
<p><a></a></p>
<script src=" platform.twitter.com/widgets.js " type="text/javascript">
Please Log in or Create an account to join the conversation.
You should use the iframe code provided by facebook instead:
<iframe src=" www.facebook.com/plugins/like.php?href&a...p;font&height=80 " scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true">
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Has anyone else noticed the tweet counter on the plugin is not working?
Cheers
Please Log in or Create an account to join the conversation.
stackoverflow.com/questions/3805670/twit...utton-does-not-count
One interesting is to add the attribute:
data-counturl="'.$_SERVER.'"
in the link:
$html.='<a href="http'.$this->https.'
/twitter.com/share" class="twitter-share-button" '.$message.' data-count="'.$count.'" '.$mention.' '.$lang.'>Tweet</a>in the file plugins/content/hikashopsocial.php
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 1
- Thank you received: 0
The Iframe does not work either the code just dissappears when I hit the update button on the html editor. Maybe this is a Joomla issue I posted on their forum as well.
If you are using Joomla version 1.7/1.6 and you are trying to add an iFrame into your article you will need to first adjust the text filter options so it does not get filtered out. In the article manager click on the option button at the top right then go to the "Text Filters" tab. In this tab you want to set the Filter Type for Super Users from "Black List (default)" to "No Filtering"
This should then allow you to include iFrames in your articles without the code being removed.
Please Log in or Create an account to join the conversation.