View DWT repeast and if after 2011 SP1 HR1.dwt
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
<!-- TemplateBeginRepeat name="Component.Fields.repeatField" --> | |
<!-- TemplateBeginIf cond = "TemplateRepeatIndex == 0 " --> | |
<ul> | |
<!-- TemplateEndIf --> | |
<li>@@Field@@</li> | |
<!-- TemplateBeginIf cond = "TemplateRepeatIndex) == @@CollectionLength("repeatField")@@-1" --> | |
</ul> | |
<!-- TemplateEndIf --> | |
<!-- TemplateEndRepeat --> |
View promotions.jsp
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
<smarttarget:query view="home" publication="tcm:0-71-1"> | |
<smarttarget:facet category="tcm:69-707-4"></smarttarget:facet> | |
<smarttarget:promotions maxItems="3" var="promotion" region="homepagepromotions"> <!-- HomepageBanners --> | |
<smarttarget:itemTemplate> | |
<smarttarget:promotionalItems> | |
<smarttarget:itemTemplate> | |
<tridion:ComponentPresentation pageURI="tcm:69-6212-64" componentURI="${item.componentUri}" templateURI="${item.templateUri}"/> | |
</smarttarget:itemTemplate> | |
</smarttarget:promotionalItems> | |
</smarttarget:itemTemplate> |
View SmartTarget_tag_demo.aspx
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
<%@ Page Title="SDL SmartTarget tag demo" Language="C#" %> | |
<%@ Register Assembly="Tridion.SmartTarget" Namespace="Tridion.SmartTarget.Web.UI" TagPrefix="smarttarget" %> | |
<%@ Import Namespace="System.Web" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<title>SmartTarget tag demo</title> | |
</head> | |
<body> |
View Install to Global Assembly cache
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
PowerShell.exe -ExecutionPolicy RemoteSigned -Command "& {.\Add-AssemblyToGlobalAssemblyCache.ps1 -AssemblyName C:\Temp\MyWorkflow.dll }" |
View start-Fredhopper.bat
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
@echo off | |
start start-deployment-agent.bat | |
echo Launched deployment agent in separate window | |
echo. | |
echo Pausing before starting the instance | |
timeout 60 | |
echo. | |
start start-instance.bat |
View .gitignore
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
*.suo | |
*.user | |
bin/ | |
_ReSharper.*/ | |
obj/ |
View promotion.aspx
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" |
View start-Fredhopper.bat
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
@echo off | |
start start-deployment-agent.bat | |
echo Launched deployment agent in separate window | |
echo. | |
echo Pausing before starting the instance | |
timeout 30 | |
echo. | |
echo Starting instance... |
View SmartTarget-controls-2014.aspx
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
<smarttarget:Query Publication="tcm:0-69-1" runat="server" SiteEditTagName="span"> | |
<smarttarget:Promotions MaxItems="3" Region="Homepage Promotions" runat="server"> | |
<ItemTemplate> | |
<smarttarget:PromotionalItems runat="server"> | |
<ItemTemplate> | |
<span> | |
<!-- Start Promotion: { "PromotionID": "<%# Eval("promotionID") %>", "RegionID" : "<%# Eval("region") %>"} --> | |
<tridion:ComponentPresentation runat="server" PageURI="tcm:69-6212-64" ComponentURI="<%# Eval("ComponentUri") %>" TemplateURI="<%# Eval("TemplateUri") %>"/> | |
<!-- End Promotion --> | |
</span> |
OlderNewer