Skip to content

Instantly share code, notes, and snippets.

@jhorsman
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhorsman/3b5c48c3a5ea5d5e12b8 to your computer and use it in GitHub Desktop.
Save jhorsman/3b5c48c3a5ea5d5e12b8 to your computer and use it in GitHub Desktop.
SmartTarget TCDL example for SmartTarget 2014. Those TCDL Tags are generated by the SmartTarget TBBs.
<tcdl:region ID="Homepage Promotions" type="SmartTarget">
<tcdl:query siteEditTagName='span' publication='tcm:0-69-1'>
<tcdl:promotions region='Homepage Promotions' maxItems='3'>
<tcdl:itemTemplate>
<tcdl:promotionalItems>
<tcdl:itemTemplate siteEditTagName='span'>
<tcdl:ComponentPresentation PageURI='tcm:69-6212-64' ComponentURI='##componentUri##' TemplateURI='##templateUri##' Type='Dynamic'/>
</tcdl:itemTemplate>
</tcdl:promotionalItems>
</tcdl:itemTemplate>
<tcdl:fallbackContent>
<tcdl:ComponentPresentation type="Dynamic" componentURI="tcm:69-6196" templateURI="tcm:69-6213-32" xmlns:tcdl="http://www.tridion.com/ContentDelivery/5.3/TCDL" />
<tcdl:ComponentPresentation type="Dynamic" componentURI="tcm:69-6197" templateURI="tcm:69-6213-32" xmlns:tcdl="http://www.tridion.com/ContentDelivery/5.3/TCDL" />
<tcdl:ComponentPresentation type="Dynamic" componentURI="tcm:69-6198" templateURI="tcm:69-6213-32" xmlns:tcdl="http://www.tridion.com/ContentDelivery/5.3/TCDL" />
</tcdl:fallbackContent>
</tcdl:promotions>
</tcdl:query>
</tcdl:region>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment