Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
SmartTarget JSP tags example for SmartTarget 2014
<smarttarget:query siteEditTagName="span" publication="tcm:0-72-1">
<smarttarget:promotions region="Homepage Banners" var="promotion" maxItems="1">
<!-- Start Promotion: { "PromotionID": "${item.promotionID}", "RegionID" : "${item.region}"} -->
<tridion:ComponentPresentation pageURI="tcm:72-6212-64" componentURI="${item.componentUri}" templateURI="${item.templateUri}"/>
<!-- End Promotion -->
<tridion:ComponentPresentation pageURI="tcm:72-6212-64" componentURI="tcm:72-6196" templateURI="tcm:72-6322-32"/>
<tridion:ComponentPresentation pageURI="tcm:72-6212-64" componentURI="tcm:72-6197" templateURI="tcm:72-6322-32"/>
<tridion:ComponentPresentation pageURI="tcm:72-6212-64" componentURI="tcm:72-6198" templateURI="tcm:72-6322-32"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment