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

{IF-USING-YOUTUBE-END}

{YOUTUBE-URL}

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

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

Requirements / Prerequisites

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

Content between the {IF-USING-YOUTUBE-BEGIN} and {IF-USING-YOUTUBE-END} tags will be displayed only when:

1. The YouTube module, located through [Modules > 3rd Party Service Integration > YouTube Integration] is toggled on, by setting Option 1, "Use the YouTube module?" to YES.

...and...

2. Option 2, "YouTube Channel" has an accurate YouTube channel entered.

Example of Use

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

{IF-USING-YOUTUBE-BEGIN} <a href="{YOUTUBE-URL}" target="_blank"> <img src="images/youtubeLogo.png" width="80" height="80"> </a> {IF-USING-YOUTUBE-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-YOUTUBE-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