Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!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(&quot;ComponentUri&quot;) %>"
TemplateURI="<%# Eval(&quot;TemplateUri&quot;) %>"/>
</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
You can’t perform that action at this time.