{module_facebooklike}

Description

This module will display the Facebook like button.

Syntax

{module_facebooklike moduleTemplateGroup="" language="en_US" url="" layout="" showFaces="true" width="450" verb="like" font="" colorScheme="" collection="my_custom_collection_name" template=""}

Parameters

  • moduleTemplateGroup - This will specify a module template group, which is a folder located in FTP under /ModuleTemplates/SocialMedia/FacebookLike/
  • language – Can be any Facebook locales ISO language and country codes combined by an underscore (e.g en_US). If the parameter is not present, this will default to en_US
  • url – If the parameter is not present, this will default to the current page URL. This must be a valid URL otherwise the Facebook plugin returns error when the button is pressed
  • layout – standard, button_count, box_count. If the parameter is not present, the default value will be standard.
  • show facestrue, false. If the parameter is not present, the default value will be true
  • width – Any positive integers. If the parameter is not present, the default value will be 450
  • verb – like, recommend. If the parameter is not present, the default value will be like
  • fontarial, lucida grande, segoe ui, tahoma, trebuchet ms, verdana
  • color scheme – light, dark. If the parameter is not present, the default value will be light
  • collection - use this if you need to access the module's Liquid output tags
  • template - this module does not support custom templates. You can use the template parameter however to supress the module's output

This module is rendered with these layouts

  • Module templates > SocialMedia > FacebookLike > Default > container.html
  • See this article for activation steps: Facebook Integration

Examples

  • {module_facebooklike, url="{tag_itemurl_withhost}"} - this generates the Facebook Like button, using the full URL of the module item, for example http://mysite.com/module-url.

Syntax

{module_facebooklike, moduleTemplateGroup="", language="en_US", url="", layout="", showFaces="true", width="450", verb="like", font="", colorScheme=""}

Parameters

  • moduleTemplateGroup - This will specify a module template group, which is a folder located in FTP under /ModuleTemplates/SocialMedia/FacebookLike/
  • language – Can be any Facebook locales ISO language and country codes combined by an underscore (e.g en_US). If the parameter is not present, this will default to en_US
  • url – If the parameter is not present, this will default to the current page URL. This must be a valid URL otherwise the Facebook plugin returns error when the button is pressed
  • layout – standard, button_count, box_count. If the parameter is not present, the default value will be standard.
  • show facestrue, false. If the parameter is not present, the default value will be true
  • width – Any positive integers. If the parameter is not present, the default value will be 450
  • verb – like, recommend. If the parameter is not present, the default value will be like
  • fontarial, lucida grande, segoe ui, tahoma, trebuchet ms, verdana
  • color scheme – light, dark. If the parameter is not present, the default value will be light

This module is rendered with these layouts

  • Module templates > SocialMedia > FacebookLike > Default > container.html
  • See this article for activation steps: Facebook Integration

Examples

  • {module_facebooklike, url="{tag_itemurl_withhost}"} - this generates the Facebook Like button, using the full URL of the module item, for example http://mysite.com/module-url.