Last active
August 29, 2015 14:13
-
-
Save jhorsman/b858f0397d83ec732d3d to your computer and use it in GitHub Desktop.
Test page for SDL SmartTarget. Expeted result: http://4.bp.blogspot.com/-QTPT1sdISsE/VLPOck52JaI/AAAAAAAAAws/HuVxBiQCwN4/s1600/expected%2Bresult%z2B2.PNG
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Test page for SDL SmartTarget</title> | |
</head> | |
<body> | |
<form runat="server"> | |
<h1>SmartTarget test page</h1> | |
<p> | |
Change the following on the source of this page | |
<ul> | |
<li>Publication id in the smarttarget:Query Publication attribute; This is the website's publication id</li> | |
<li>Region name in smarttarget:Promotions Region attribute; See the regions defined in the smarttarget_conf.xml of the </li> | |
</ul> | |
</p> | |
<hr/> | |
<br/> | |
<br/> | |
<smarttarget:Query Publication="tcm:0-6-1" runat="server"> | |
<smarttarget:Promotions Region="HomepagePromotions" MaxItems="10" runat="server"> | |
<ItemTemplate> | |
<smarttarget:PromotionalItems runat="server"> | |
<ItemTemplate> | |
<span> | |
<tridion:ComponentPresentation | |
runat="server" PageURI="" | |
ComponentURI="<%# Eval("ComponentUri") %>" | |
TemplateURI="<%# Eval("TemplateUri") %>"/> | |
</span> | |
</ItemTemplate> | |
</smarttarget:PromotionalItems> | |
</ItemTemplate> | |
</smarttarget:Promotions> | |
</smarttarget:Query> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment