Documentation Center

tcdl:promotionalItems

The <tcdl:promotionalItems> tag displays content items belonging to a Promotion. When a OpenSearch query is executed, OpenSearch returns content items that match the query and a collection of content items (Component Presentations and Content Manager URIs) for each Promotion.

Syntax

<tcdl:promotionalItems> 
     <tcdl:itemTemplate> 
          <tcdl:ComponentPresentation ComponentURI='##componentUri##' TemplateURI='##templateUri##' Type='Dynamic'/> 
     </tcdl:itemTemplate> 
</tcdl:promotionalItems> 

Where:

  • <tcdl:itemTemplate> loops over the content items returned.
  • <tcdl:componentPresentation> renders a Component using a Dynamic Component Template, resulting in a Dynamic Component Presentation that is included on the webpage at visit time.

Attributes

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

ParameterDescription
varSet the name of the item collection (by default, set to promotionalItems).