close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Facebook Like and Share problems

Thread began 3/19/2013 12:13 pm by Christopher West | Last modified 3/27/2013 4:29 pm by Christopher West | 2188 views | 30 replies

Christopher WestCommunity Expert

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>&nbsp;</p>



Chris

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...