By default, the SmartTarget installer for Content Delivery configures Content Deployer for SmartTarget. If you declined this option, you need to configure the cd_deployer_conf.xml file manually—you need to add SmartTarget Modules to the Deploy and Undeploy <Processor> elements, and configure the TCDL engine for SmartTarget tags.
Procedure
- Open the
cd_deployer_conf.xml configuration file, by default located in your %TRIDION_HOME%\config directory, in a text editor.
- Add the following
<Module> element to the Processor Action="Deploy":
<Processor Action="Deploy" Class="com.tridion.deployer.Processor" Phase="post-transaction">
<Module Type="SmartTargetDeploy" Class="com.tridion.smarttarget.deployer.FredhopperDeployerModule">
<Transformer Class="com.tridion.deployer.TCDLTransformer"/>
</Module>
</Processor>
- Add the following
<Module> element to the Transactional Processor Processor Action="Undeploy":
<Processor Action="Undeploy" Class="com.tridion.deployer.Processor" Phase="post-transaction">
<Module Type="SmartTargetUndeploy" Class="com.tridion.smarttarget.deployer.FredhopperUndeployModule"/>
</Processor>
- If you have SDL Archive Manager installed, you can add SmartTarget
<module>s to the Transactional Processor as follows
- Add the following
<Module> element to the Transactional Processor Processor Action="Deploy":
<Processor Action="Deploy" Class="com.tridion.archiving.processors.TransactionalProcessor" Phase="post-transaction">
<Module Type="SmartTargetDeploy" Class="com.tridion.smarttarget.deployer.FredhopperDeployerModule">
<Transformer Class="com.tridion.deployer.TCDLTransformer"/>
</Module>
</Processor>
- Add the following
<Module> element to the Transactional Processor Processor Action="Undeploy":
<Processor Action="Undeploy" Class="com.tridion.archiving.processors.TransactionalProcessor" Phase="post-transaction">
<Module Type="SmartTargetUndeploy" Class="com.tridion.smarttarget.deployer.FredhopperUndeployModule"/>
</Processor>
- Add the following to the
<TCDLEngine> section:
<TCDLEngine>
<TagBundle Resource="com/tridion/smarttarget/tcdl/tagbundle.xml" />
</TCDLEngine>
where Resource specifies a relative or absolute path to the tagbundle.xml file which contains SmartTarget specific tags.
- Save and close
cd_deployer_conf.xml.
Results
You have configured the Content Deployer for SmartTarget.