Modular Merchant
QuickCode™ Glossary
{IF-USING-TWITTER-END}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{IF-USING-TWITTER-BEGIN}

{IF-USING-TWITTER-END}

{TWITTER-URL}

Twitter > {IF-USING-TWITTER-END}
<< {IF-USING-TWITTER-BEGIN} {TWITTER-URL} >>
{IF-USING-TWITTER-END} Updated: 06/18/2013

This QuickCode Tag is used in conjunction with the {IF-USING-TWITTER-BEGIN} tag to display content between the two tags if the Twitter module is being used.

Requirements / Prerequisites

Must be used in conjunction with the {IF-USING-TWITTER-BEGIN} tag.

Content between the {IF-USING-TWITTER-BEGIN} and {IF-USING-TWITTER-END} tags will be displayed only when the Twitter module, located through [Modules > 3rd Party Service Integration > Twitter Integration] is toggled on, by setting Option 1, "Use the Twitter module?" to YES.

Example of Use

To display an image that links to your Twitter page and opens the page in a new tab, but only when the Twitter module is being used, a setup similar to the following could be used:

{IF-USING-TWITTER-BEGIN}<a href="{TWITTER-URL}" target="_blank"><img src="/mmv4/images/default/twitter-logo.png" width="65" height="65"></a>{IF-USING-TWITTER-END}

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-USING-TWITTER-END} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map