Facebook Like and Share problems
Hi, I have the below code inserted in all pages of my eccommerce website...however they dont seem to work on the actual product detail pages (the social buttons dont get displayed).
The structure of my website is using Framework Builder so the main products.php file in the root of the website will pull in files from a sub folder called plugins (since there are product-summary and product-detail pages I wanted them both to use the the same products.php file for URL to look tidy...anyway (Im rambling) since the product page is the only page im using the social buttons on that uses framework builder - is this a limitation of framework builder and social buttons??
here is the code for social:
<div class="social">
<div class="social-left">
<div class="wasocial_facebook_like">
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<fb:like href="<?php echo urlencode(((!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]); ?>" send="false" layout="standard" width="450" show_faces="false" action="recommend" colorscheme="light" font=""></fb:like>
</div>
</div>
<div class="social-right">
<div class="wa_social_counter_hr">
<div class="wasocial">
<div class="icons"> <a name="fb_share" type="icon" href="#" onclick="window.open('http://www.facebook.com/sharer.php?u=<?php echo urlencode(((!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]); ?>', 'Facebook', 'toolbar=0,status=0,width=626,height=436'); return false;" title="Facebook"><img src="webassist/social/icons/facebook.png" /></a></div>
<span>Share</span> </div>
</div>
</div>
</div>
<p> </p>
Chris