I'm having some troubles with the Facebook Like button. It shows just fine on the page, but when clicking the Like-button it outputs umbraco tags on my Facebook wall.
If that's inside an XSLT file you're probably suffering from "self-closing empty tags" - to fix, you can add some dummy comments inside the empty elements, like this:
Facebook Like buttom outputs umbraco tags
Hi
I'm having some troubles with the Facebook Like button. It shows just fine on the page, but when clicking the Like-button it outputs umbraco tags on my Facebook wall.
I'm using following XFBML script:
The umbraco tags shows up like this:
BTW: I don't have a <form runat="server" /> in my template
Any hints ?
Hi Anders,
If that's inside an XSLT file you're probably suffering from "self-closing empty tags" - to fix, you can add some dummy comments inside the empty elements, like this:
(You can also set <xsl:output method="html" /> but depending on the rest of your code, that'll likely open another can of worms to squash...)
/Chriztian
Curious if you've ran into any namespace issues with the "fb" prefix?
I tried to add a Facebook Like Box in XSLT recently - run into a world of headaches ... ended up wrapping it in <xsl:text> tags. :-(
Thanx, Chriztian.
My code was in the template, but adding a <!-- --> solved the issue ;-)
Lee Kellher: Make sure to add the namespace to the xslt.
That help me with the fb prefix.
is working on a reply...