PDA

View Full Version : Facebook Feed Module


Don Z.
03-03-2010, 03:33 PM
I am running CMPS v3.2.1 and need to create a module for a Facebook feed. I created a template module and pasted in this code but all I get is the link.

<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US"></script><script type="text/javascript">FB.init("1ea572328e7a0bb3545bd8e02302e96d");</script><fb:fan profile_id="24119259312" stream="1" connections="10" logobar="0" width="300"></fb:fan><div style="font-size:8px; padding-left:10px"><a href="http://www.facebook.com/pages/Lake-Winnipesaukee-WeatherCam/24119259312">Lake Winnipesaukee WeatherCam</a> on Facebook</div>

The code works in a normal html page but not a CMPS module. Can anyone tell me what I'm missing?

Thanks!

Don Z.
03-03-2010, 03:53 PM
Just as a followup, I'm using the Wrapper so I put in the tr and td tags.

I also tried splitting the code between the template and the form code field as someone suggested in another post.

No matter what I try I can't see the feed box. Help!

<tr>
<td class="$bgclass">
<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US"></script><script type="text/javascript">FB.init("1ea572328e7a0bb3545bd8e02302e96d");</script><fb:fan profile_id="24119259312" stream="1" connections="10" logobar="0" width="300"></fb:fan><div style="font-size:8px; padding-left:10px"><a href="http://www.facebook.com/pages/Lake-Winnipesaukee-WeatherCam/24119259312">Lake Winnipesaukee WeatherCam</a> on Facebook</div>
</td>
</tr>

Our Sponsors
 

Don Z.
03-06-2010, 01:12 PM
Never mind. It was working after all but just not in the Preview window. When I saved it and dropped it into a page it worked fine. If you're interested take a look: http://www.winnipesaukee.com

Mikea113n
08-30-2011, 08:14 PM
Can you walk me through the steps you took to make the template and put the module in.. My site is dark and the plugin seems to have a transparent background that I cant fix, so I assume making a template of a different color would allow the plugin to show up...