Office Live Small Business Community Forums

Facebook badge not working

Last post 08-22-2008 11:48 AM by jogriloan. 13 replies.
Page 1 of 1 (14 items)
Sort Posts:
08-20-2008 2:28 PM
jogriloan Joined on 08-13-2008 Texas, Louisiana Posts 13
Facebook badge not working

 I made a facebook badge on facebook and converted the java with Iframe but it won't transfer correctly onto my OL site.  Then I edited the badge for use in html and it didn't work either, it doesn't stay loaded correctly.  What am I doing wrong or am I missing a step?  When I converted with Iframe the demo looked just fine but when I pasted it across it was damaged somehow and after multiple attempts I finally gave up until I could get help with it. This one is the html and so far it looks find here but I really want to use java one.  

Lori Jenkins's Facebook profile

this is the code for the html 

  <a href="http://www.new.facebook.com/people/Lori_Jenkins/592560265" title="Lori Jenkins's Facebook profile" target=_TOP><img src="http://badge.facebook.com/badge/592560265.496.1989941357.png" border=0 alt="Lori Jenkins's Facebook profile"></a>

 

and code for the java one

 <script src="http://badge.facebook.com/badge/592560265.496.1989941357.js"></script><noscript><a href="http://www.new.facebook.com/people/Lori_Jenkins/592560265">Lori Jenkins's Facebook profile</a></noscript>

Any suggestions? 

08-20-2008 2:30 PM In reply to
jogriloan Joined on 08-13-2008 Texas, Louisiana Posts 13
Re: Facebook badge not working

 Well it doesn't look like the html one is working here either once I saved the page. Why does it do that?

08-20-2008 4:49 PM In reply to
royster Joined on 02-12-2008 Posts 1,478
Re: Facebook badge not working

Don't use HTML module to add your script. Instead, Add a Custom Footer module on the page. Delete everything in the XSLT box. Add the following in:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:output method="html" />

  <xsl:template match="/Footer">

<!-- Your Facebook Code Here -->

  </xsl:template>

</xsl:stylesheet>

Make sure you add your Facebook code by replacing the blue part above with it. Save it and then view.

Royster

08-20-2008 8:52 PM In reply to
jogriloan Joined on 08-13-2008 Texas, Louisiana Posts 13
Re: Facebook badge not working

 Ok I guess I'm rather a dunce here cuz it's still not working.  I have to be doing something wrong.  This is what I pasted into the custom footer after deleting the original code there. 

 

 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:output method="html" />

  <xsl:template match="/Footer">

<script src="http://badge.facebook.com/badge/592560265.496.1989941357.js"></script><noscript><a href="http://www.new.facebook.com/people/Lori_Jenkins/592560265">Lori Jenkins's Facebook profile</a></noscript>


  </xsl:template>

</xsl:stylesheet>

All I'm getting is the blue facebook words on the right hand side.  I am supposed to be using java right?  or should I be converting it to xslt?  If I convert it to html then I something about a part missing or not correct.  I am truly flumaxed with this one.  

08-20-2008 9:16 PM In reply to
royster Joined on 02-12-2008 Posts 1,478
Re: Facebook badge not working

No worries. Use this:

 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:output method="html" />

  <xsl:template match="/Footer">

<script src="http://badge.facebook.com/badge/592560265.496.1989941357.js"></script><a href="http://www.new.facebook.com/people/Lori_Jenkins/592560265">Lori Jenkins's Facebook profile</a>


  </xsl:template>

</xsl:stylesheet>

Save it then view to see it. BTW, it's javascript, not java.. they are completely different things.

Royster 

08-20-2008 11:03 PM In reply to
jogriloan Joined on 08-13-2008 Texas, Louisiana Posts 13
Re: Facebook badge not working

 Well that's not working either 'm beginning to wonder if it's a glitch with the badge itself.  Yea I know it's javascript, I just get lazy when I'm typing and take a short cut, bad, bad. 

08-20-2008 11:41 PM In reply to
royster Joined on 02-12-2008 Posts 1,478
Re: Facebook badge not working
08-21-2008 11:15 AM In reply to
jogriloan Joined on 08-13-2008 Texas, Louisiana Posts 13
Re: Facebook badge not working

I'm going to keep working with it.  Like I mentioned earlier, I'm not very adept at this stuff but I sure want to learn.  

08-21-2008 6:46 PM In reply to
StudioAllen Joined on 02-08-2008 Dorr, MI Posts 1,862
Re: Facebook badge not working

Works here as well, are you using the custom footer module?

StudioAllen
Solutions for Office Live How to Verify your site on Google Webmasters!
08-21-2008 9:39 PM In reply to
jogriloan Joined on 08-13-2008 Texas, Louisiana Posts 13
Re: Facebook badge not working

 Yep sure am, and I'm deleting all the code that is in it to begin with then inserting the code above that Royster gave me.  All can I get to load is the blue facebook logo on the side.  

08-21-2008 9:46 PM In reply to
jogriloan Joined on 08-13-2008 Texas, Louisiana Posts 13
Re: Facebook badge not working

 Sometimes with the second set of code I get an underlined link to my facebook and I did get that just now when I tried it again and also the facebook logo on left side.  But nothing else that resembles a badge. 

08-21-2008 10:11 PM In reply to
royster Joined on 02-12-2008 Posts 1,478
Re: Facebook badge not working
08-22-2008 11:35 AM In reply to
jogriloan Joined on 08-13-2008 Texas, Louisiana Posts 13
Re: Facebook badge not working

 It's still  just the logo on the left.  One time I had it in there and then the next time I went back ( I wanted to put some text above it outside the custom footer) saved it again and then it was gone with the logo left by itself and the text pretty much all alone in mid air. Now I can't get it back at all and I took the text off.

 

 http://gryarvoldmastiffs.com/funthings.aspx

08-22-2008 11:48 AM In reply to
jogriloan Joined on 08-13-2008 Texas, Louisiana Posts 13
Re: Facebook badge not working

Am I doing something wrong when I save it?  What is the correct procedure on that? 

Advertisement