Sorry if this is answered elsewhere.... But I am simply trying to include the FaceBook link button to our business' facebook fan page it isn't basic HTML. I tried setting up an UDT, but I cant' get it to work. If it matters, I am trying to place it in the Global "Footers" area so that it will appear on every single page. The face book supplied code looks like this:
';
echo '//
I am not interested in the plugin modules that offer lots of other networks, etc. Besides, I am unclear on EXACTLY what the modules such as "social bookmarking" are doing??? It appears those modules are for submitting the CMSMS page to the users FB/Social network site????... I think I am doing the opposite; I am simply trying to include the link to my FB page from my CMSMS pages?
Or am i missing something conceptually? Some better docs for the existing plugins/ modules would sure be a help..
Thanks in advance!
Facebook Fan Script link <solved>
Facebook Fan Script link <solved>
Last edited by trogfish on Tue Mar 09, 2010 10:48 pm, edited 1 time in total.
Re: Facebook Fan Script link
wrap the script in {literal} tags.
Code: Select all
{literal}
<__script__ src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US"type="text/javascript"></__script>';
echo '<__script__ type="text/javascript">// <![CDATA[
FB.init("343937f1f2fb6fbcbe66edc7580694d1");
// ]]></__script>
{/literal}
Re: Facebook Fan Script link
Does the tags work the same WITHIN a user created Global content block and/or the UDT the same as page content?
I can get it to work when it's in a page content; but I cannot get it to work in the footer, where I actually want it:
http://www.crptruck.com/facebook.html
Code: Select all
<literal>
I can get it to work when it's in a page content; but I cannot get it to work in the footer, where I actually want it:
http://www.crptruck.com/facebook.html
Re: Facebook Fan Script link <solved>
A WYSWYG type of error? TinyMCE kept Tidy-ing / Mangling my code when trying to post the I was using the HTML button on TinyMCE. It looked right, but upon saving, and re-opening the page, TinyMCE had mangled it......
Works if you disable WYSWYG for the page/ block/ etc.
Code: Select all
Facebook <__script__> code, even when contained within <lieratal>
Works if you disable WYSWYG for the page/ block/ etc.