Created
May 14, 2014 18:04
-
-
Save jhorsman/b5c10242cbd774b44dc0 to your computer and use it in GitHub Desktop.
SDL Tridion .NET controls for SDL SmartTarget 2014 promotion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<!-- Start Promotion Region: {"RegionID": "HomepagePromotions" } --> | |
<smarttarget:Query AllowDuplicates="false" Publication="tcm:0-6-1" runat="server" SiteEditTagName="div"> | |
<smarttarget:Promotions MaxItems="3" Region="HomepagePromotions" runat="server"> | |
<ItemTemplate> | |
<smarttarget:PromotionalItems runat="server"> | |
<ItemTemplate> | |
<div> | |
<!-- Start Promotion: { "PromotionID": "<%# Eval("promotionID") %>", "RegionID" : "<%# Eval("region") %>"} --> | |
<tridion:ComponentPresentation runat="server" | |
PageURI="tcm:6-221-64" | |
ComponentURI="<%# Eval("ComponentUri") %>" | |
TemplateURI="<%# Eval("TemplateUri") %>"/> | |
<!-- End Promotion --> | |
</div> | |
</ItemTemplate> | |
</smarttarget:PromotionalItems> | |
</ItemTemplate> | |
<FallbackContent> | |
<tridion:ComponentPresentation runat="server" | |
PageURI="tcm:6-221-64" | |
ComponentURI="tcm:6-127" | |
TemplateURI="tcm:6-123-32"/> | |
</FallbackContent> | |
</smarttarget:Promotions> | |
</smarttarget:Query> | |
<!-- End SiteEdit Promotional Region --> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment