• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Facebook Fan Script link
PostPosted: Tue Mar 09, 2010 2:50 am 
Offline
New Member

Joined: Fri Feb 20, 2009 2:21 am
Posts: 8
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!


Last edited by trogfish on Tue Mar 09, 2010 10:48 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Facebook Fan Script link
PostPosted: Tue Mar 09, 2010 8:11 am 
Offline
Beta Tester
Beta Tester
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 1653
Location: Feldkirchen in Kärnten, Austria
wrap the script in {literal} tags.

Code:
{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}

_________________
Blog: i-do-this!
Themes: QuattroSimple BizBuzz and more...
Github Profile Forge Profile


Top
 Profile  
 
 Post subject: Re: Facebook Fan Script link
PostPosted: Tue Mar 09, 2010 10:44 pm 
Offline
New Member

Joined: Fri Feb 20, 2009 2:21 am
Posts: 8
Does the
Code:
<literal>
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


Top
 Profile  
 
 Post subject: Re: Facebook Fan Script link
PostPosted: Tue Mar 09, 2010 10:53 pm 
Offline
New Member

Joined: Fri Feb 20, 2009 2:21 am
Posts: 8
A WYSWYG type of error?  TinyMCE kept Tidy-ing / Mangling my code when trying to post the
Code:
Facebook <script> code, even when contained within <lieratal>
  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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner