Documentation Center

tcdl:promotions

The <tcdl:promotions> tag defines a region on a webpage where Promotions are displayed. When an OpenSearch query is executed, OpenSearch returns a list of Promotions that match the query and a collection of content for each Promotion.

Syntax

<tcdl:promotions region='Sidebar' maxItems='5'> 
     <tcdl:itemTemplate> 
          <tcdl:promotionalItems> 
               <tcdl:itemTemplate> 
                    <tcdl:ComponentPresentation ComponentURI='##componentUri##' TemplateURI='##templateUri##' Type='Dynamic'/> 
               </tcdl:itemTemplate> 
          </tcdl:promotionalItems> 
      </tcdl:itemTemplate> 
      <tcdl:fallbackContent>...
      </tcdl:fallbackContent> 
 </tcdl:promotions> 

Attributes

The <tcdl:promotions> tag has the following attributes:

ParameterDescription
regionA unique identifier for the region where the Promotion is displayed.
maxItemsThe maximum number of items in the item collection.
varSet the name of the item collection (by default, set to promotions).