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:
| Parameter | Description |
|---|---|
region | A unique identifier for the region where the Promotion is displayed. |
maxItems | The maximum number of items in the item collection. |
var | Set the name of the item collection (by default, set to promotions). |