{module_twittertweet}

Description

This module will display a Twitter Tweet button.

Syntax

{module_twittertweet moduleTemplateGroup="" language="en" url="" count="horizontal" text="" via="" related="" countUrl="" 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/TwitterTweet/
  • languageen, fr, de, it, es, ko, ja
  • url – if the parameter is not present, this will default to the current page URL. This must be a valid
  • counthorizontal, vertical, none. If the parameter is not present, the default value will be horizontal
  • text – this can have any text value. If the parameter is not present, this will default to the title of the page the button is on
  • via – this should be a valid Twitter username
  • related – this should be a valid Twitter username
  • counturl – must be a valid URL
  • 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

Layouts

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

Examples

  • {module_twittertweet, url="{tag_itemurl_withhost}"} - This will generate the Tweeter Tweet button, using the full URL of the module item, for example http://mysite.com/module-url.

Syntax

{module_twittertweet, moduleTemplateGroup="", language="en", url="", count="horizontal", text="", via="", related="", countUrl=""}

Parameters

  • moduleTemplateGroup - This will specify a module template group, which is a folder located in FTP under /ModuleTemplates/SocialMedia/TwitterTweet/
  • languageen, fr, de, it, es, ko, ja
  • url – if the parameter is not present, this will default to the current page URL. This must be a valid
  • counthorizontal, vertical, none. If the parameter is not present, the default value will be horizontal
  • text – this can have any text value. If the parameter is not present, this will default to the title of the page the button is on
  • via – this should be a valid Twitter username
  • related – this should be a valid Twitter username
  • counturl – must be a valid URL

Layouts

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

Examples

  • {module_twittertweet, url="{tag_itemurl_withhost}"} - This will generate the Tweeter Tweet button, using the full URL of the module item, for example http://mysite.com/module-url.