The SEO team requested we add Facebook Like buttons to all of the Promotion Pages on EverestPoker.fr.

The EverestPoker.fr site is built using Plone and the Promotions use a custom "promotion" content type


First step was to create a viewlet to contain the Facebook code

This code is designed to work in 15 different languages and contain a generic Partner ID (PID) that can be manually overwritten


Second step is to add the required meta tags to the head section of site found in the "main_template"


Third step is to register the viewlet in two files

Configure.zcml:

viewlets.xml


The last step is to add a custom field to the Promotion content type for the Partner ID.


Below are screen shots of what the final product would have looked like (wasn't released because of Facebook policy in regards to gambling sites).