Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Adding a Facebook Badge

  1. #1
    Joey P is offline Member
    Join Date
    Oct 2008
    Posts
    48

    Default Adding a Facebook Badge

    We just created a Facebook Page for our business. In playing around with it I found there's a way to create a "badge" for your facebook page. When you're all done it gives you a chunk of code that it says you can paste into your website. My understanding is that adding this bit of code will put an image on your site and create a link back to your facebook page. However, after doing this, all that showed up on my website was the exact text that I pasted on to the page (un-parsed). Obviously I'm doing something wrong. Can anyone point me in the right direction here? Here's the code I'm trying to add to my home page


    <!-- Facebook Badge START --><a href="http://www.facebook.com/pages/Milwaukee-WI/Layton-Fruit-Market/125408224175906" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Layton Fruit Market">Layton Fruit Market</a><br/><a href="http://www.facebook.com/pages/Milwaukee-WI/Layton-Fruit-Market/125408224175906" target="_TOP" title="Layton Fruit Market"><img src="http://badge.facebook.com/badge/125408224175906.906.483379715.png" width="120" height="172" style="border: 0px;" /></a><br/><a href="http://www.facebook.com/business/dashboard/" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Make your own badge!">Promote Your Page Too</a><!-- Facebook Badge END -->

    As I've mentioned here before, I am absolutely not a web programmer, not even a little bit, but I'm comfortable navigating ASPDNSF and making any changes I need to make (including code changes, provided someone is walking me through them). So if someone could just point me in the right direction, that would be great.
    Thanks

  2. #2
    Orangey is offline Junior Member
    Join Date
    Aug 2010
    Location
    UK
    Posts
    23

    Default

    If you're pasting the code into a page via the storefront admin section, make sure you're in the "HTML" view of the page you're pasting into, not the "Design" view. You can swap views with the pencil icon and the <> icon at the bottom of the edit window.

  3. #3
    Joey P is offline Member
    Join Date
    Oct 2008
    Posts
    48

    Default

    Perfect! Thanks.