jan-h
1/12/2015 - 11:16 AM

Test page for SDL SmartTarget. Expeted result: http://4.bp.blogspot.com/-QTPT1sdISsE/VLPOck52JaI/AAAAAAAAAws/HuVxBiQCwN4/s1600/expected%2Bre

<!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>