Warning: simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ' expected in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: hr line 7 and body in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: body line 4 and html in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Premature end of data in tag html line 2 in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 QC: {IF-USING-YOUTUBE-BEGIN}
Modular Merchant
QuickCode™ Glossary
{IF-USING-YOUTUBE-BEGIN}
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-BEGIN}
{IF-USING-YOUTUBE-END} >>
{IF-USING-YOUTUBE-BEGIN} Updated: 06/18/2013

This QuickCode Tag is used in conjunction with the {IF-USING-YOUTUBE-END} 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-END} 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: Warning: date() expects parameter 2 to be long, string given in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 796
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-USING-YOUTUBE-BEGIN} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2019 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map