Want an easy way to put facebook social plugins on multiple pages?

Tired of having to copy & paste code and insert the proper url for every page?

Enlil Facebook Plugins makes this easy!!

Use Enlil Facebook Plugins in a Stack, Global Area, or Page Type Defaults and one implementation of a block will produce proper results for every page containing the block!!  Even use it for profile pages, or for proper sharing of ecommerce product info.  Optionally, install Magic Data and use it, for instance, to control multiple sites built under a single c5 install.

First make sure you have a Facebook App ID.

If you don't have one, visit to get one.


Using Enlil Facebook Plugins

You will need to make a one line addition to your header.php file in your theme.  Immediately after the opening <html> tag, insert this line:

<?php   Loader::packageElement('fbheader', 'enlil_facebook_plugins'); ?>

This will make sure all the facebook meta tags are loaded properly so things like page name and description and your selected image are shared properly when someone interacts with your site using Facebook.


Settings block

Place this block in the header area of your site, preferably in a global area.  Insert your Facebook App ID and the desired site name you want Facebook to use for shared content.


Image block

Place an image block immediately after the settings block.  Select the image you want to use globally for your site.  You can use the filemanager or manually insert a url.  Optionally, on a page by page basis, another image block can be used to override the global image.


Video YouTube block

Rather than an image block, on pages with a youtube video insert a Video YouTube block.  Enter the YouTube video id and when someone shares your page with facebook a playable video will appear in the Facebook feed.


Product block

Rather than an image block, on pages of product_detail type insert a product block.  Select an image to share or insertan image url, and your good to go.  Optionally override the default product name and description..


Video Player block

Insert an Enlil Video Player block and enter the video id from a facebook video url to embed the video.


Comments/Likes blocks

The URL options are the attention getter here.  You can choose to use the page path, or a cID= link as the url for the plugin.  Using the page path option will produce nice links back to the site.  If you move your pages around in your sitemap you will lose comments threads.  Using the collection id method, you get the cID= links, but you are able to move your pages around in the sitemap and NOT lose comments.  If you are simply maintaining a small blog or such, the page path option is viable.

The best use scenario for the page path option is on profile pages.  YES, I said PROFILE pages.  The path to each individual profile page never changes, and you dont exactly ever move those pages in the sitemap, making the page path option work for profile pages, while the cID option leaves you hanging with the same comments thread on every profile!!


Comments Moderation

Add Facebook users to your Facebook App as Administrators or Developers and they will have access to moderate all comments on your site.


Magic Data Integration

All url inputs are Magic Data ready.  Simply install Magic Data on your site and populate the urls using symbols.  For example, pull a user inputter Facebook Page URL from user attributes to display custom Facebook Like Boxes on profile pages, or to show user specific follow buttons.

Using the Magic Data Teasers template (Requires Page List Teasers add-on) you can create page lists for a blog section, teaser the "main" section of the page which may have the blog post and a Facebook Likes block.  Use magic Data to create your links on each page using the ORIGINAL_PAGE symbol, and now all the pages in the page list we created will show like buttons for each individual page in the list.  Like posts on the fly!