{module_facebooklogin}

Description

This module alows site visitors to log into your site using their Facebook accounts. In order to integrate Facebook login with your site, you will first need to setup a Facebook application

Syntax

{{module_facebooklogin buttonImage="/buttons/fb.png" buttonText="FB Login" zoneId="51" autoSubscribeNewUsers="true" redirectToPage="true" pageId="13543359" collection="my_custom_collection_name" template=""}

Parameters

  • buttonImage - Image used to display the Facebook login button
  • buttonText - Text used in the Facebook login button
  • zoneId - The ID of the secure zone to log user into (Default value -1)
  • autoSubscribeNewUsers - automatically subscribe this user to the secure zone
  • redirectToPage - can be either true or false - indicates whether to redirect the user to a particular page after logging in
  • pageId - the pageID to redirect the user after logging in
  • 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

Examples

  • Please refer to this article for a complete reference

Syntax

{module_facebooklogin,LoginImage,LoginText,ZoneId}

Parameters

  • LoginImage - Image used to display the Facebook login button
  • LoginText - Text used in the Facebook login button
  • ZoneId - The ID of the secure zone to log user into (Default value -1)

Examples

  • Please refer to this article for a complete reference