How to add Facebook comments to a custom/static XOOPS Module

Date 2015/2/12 14:27:51 | Topic: XOOPS Tips

A very simple process really. Just add a new center block bottom to your module and insert this little code:

<div id="fb-root"></div> <script src=""></script> <fb:comments href="(NAME OF YOUR MODULE)>" num_posts="5" width="650"></fb:comments>

A working example at this site, for the Viking Name Generator:

<div id="fb-root"></div> <script src=""></script> <fb:comments href=">" num_posts="5" width="650"></fb:comments>

Change the width to fit your theme, and select how many posts you want visible.

Give the block a high number eg 9000 so that it will appear last on the page.

To add moderators, look at this post.

This article comes from DanorDesign

The URL for this article is: