The following are all the social flags that can be defined in the tenant's definition.json.

alternativeSharingUrl

Description: When enabled, it allows for alternative sharing URL tags for Facebook, Twitter, and Pinterest that can be added to the default/articleDetails.jsp.

Location: Features

Values: True/False

Example: 

 

"alternativeSharingUrl" : true
JS

commentingSystem

Description: Defines the commenting system the tenant is using.

Location: Features

Values: String

Example: 

"commentingSystem":"disqus"
JS

customParamDisqus

Description: Defines parameters for the tenant's Disqus blog comments extraction.

Location: Features

Values: String

Example:

 "customParamDisqus": "comments/"
JS

disqusShortname

Description: Defines the Disqus unique identifier assigned to a site.

Location: Features 

Values: String

Example:

 "disqusShortname": "eresmama"
JS

lateralMenuShareOptions 

Description: To add social sharing icons to the lateral menu, the lateralMenuShareOptions must first be enabled in the features section and then the social networks to be added defined.

Location: Features 

 Values: String

Example:

"lateralMenuShareOptions": true,
	"socialNetworks":[{ 
		"name": "facebook", 
		"uri": "https://www.facebook.com/tenantname" 
		},{ 
		"name": "twitter", 
		"uri": "https://twitter.com/tenantname" 
		},{ 
		"name": "instagram", 
		"uri": "https://www.instagram.com/tenant/" 
	}],
JS

To include the original social network color to the icons, *add this mixin to custom.scss*:

.mrf-lateralMenu .mrf-shareOptionsHint .mrf-shareOption { 
 @include socialIconsColor; 
}
CODE

preloadComments

Description: If enabled, social comments are enabled. If set to false, the comments div will have a mrf-collapsedBox class.

Location: Features

Values: True/False

Example: 

 "preloadComments": true
JS

shareCounterThreshold

Description: Defines the minimum amount of shares needed to display the social share counter.

Location: Features

Values: Numerical

Example:

"shareCounterThreshold": "10"
JS


socialSharing

Description: Defines the order in which the social share buttons are displayed

Location: Features

Values: String (an array of social networks)

Example:

 

"socialSharing":"facebook, twitter, email, comments"
JS

 

socialSharingModal

Description: Defines the order and the different social networks to be displayed in the tenant's social share bar.

Location: Features

Values: String (an array of social networks)

Example:

 "socialSharingModal":"facebook,whatsapp,twitter,messenger,telegram,linkedIn,pinterest,reddit,stumble,VK,OK,email,comments"
JS

tenantFacebookLanguage 

Description: When enabled, this flag changes the language of the Facebook Like Box according to the one defined. English is the default value. .

Location: Features

Values: String. The parameter is defined by a string and must be a language supported by the Facebook API.

Example: 

"tenantFacebookLanguage": "pt_PT"
JS


tenantFacebookPageName 

Description: Defines the tenant's name in their Facebook app.

Location: Features

Values: String. 

Example:

 "tenantFacebookPageName": "tenant.com"
JS

twitterFormatNative

Description: Formats the shared article structure according to the tenant's site.

Location: Features

Values: String. The parameters are:

  • {0}: title
  • {1}: tenant
  • {2}:
  • {3}: 

Example:

"twitterFormatNative":"En @{1}: {0}"
JS

twitterFormatWeb

Description: Formats the shared article structure according to the tenant's site.

Location: Features

Values: String. The parameters are:

  • {0}: title
  • {1}: tenant
  • {2}:
  • {3}:

Example:

"twitterFormatWeb":"{0}?url={1}&text=En+@{3}:+{2}"
JS

twitterWidgetAccount

Description: Defines the tenant's Twitter handle (account ID) which is necessary for the Twitter handle.

Location: Features

Values: String

Example:

 "twitterWidgetAccount" : "Example"
JS

twitterWidgetKey

Description: Defines the tenant's Twitter widget key that's needed to implement the Twitter widget. 

 Location: Features

Values: String

Example:

 "twitterWidgetKey" : "123451234512345123"
JS