Test page for SDL SmartTarget with minimal SDL Tridion Experience Manager markup. Expected result: http://4.bp.blogspot.com/-RxlmBZpyILo/VLPOcu9Dd3I/AAAAAAAAAww/9LREH6aLcoU/s1600/expected%2Bresult.PNG
<!DOCTYPE html>
<html>
<head>
<title>Test page for SDL SmartTarget</title>
</head>
<body>
<form runat="server">
<h1>SmartTarget test page with SDL Tridion Experience Manager Markup</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>
<li>Set the PageID in hte Page Settings markup to any existing page id</li>
</ul>
<li>XPM will say: "The preview for this page is not up to date". This is because the PageModified and PageTemplateModified in the Page Settings markup is missing. You can still verify that XPM picks up the SmartTarget markup though.
</p>
<hr/>
<br/>
<br/>
<!-- Start Promotion Region: {"RegionID": "HomepagePromotions" } -->
<smarttarget:Query Publication="tcm:0-6-1" SiteEditTagName="span" runat="server">
<smarttarget:Promotions Region="Header" MaxItems="10" runat="server">
<ItemTemplate>
<smarttarget:PromotionalItems runat="server">
<ItemTemplate>
<span>
<!-- Start Promotion: { "PromotionID": "<%# Eval("promotionID") %>", "RegionID" : "<%# Eval("region") %>"} -->
<tridion:ComponentPresentation runat="server" PageURI=""
ComponentURI="<%# Eval("ComponentUri") %>"
TemplateURI="<%# Eval("TemplateUri") %>"/>
<!-- End Promotion -->
</span>
</ItemTemplate>
</smarttarget:PromotionalItems>
</ItemTemplate>
</smarttarget:Promotions>
</smarttarget:Query>
<!-- Page Settings: {"PageID":"tcm:6-221-64","PageModified":"","PageTemplateID":"","PageTemplateModified":""} -->
<script type="text/javascript" language="javascript" defer="defer" src="http://stg2013sp1demo.ams.dev/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js" id="tridion.siteedit"></script>
</form>
</body>
</html>