Search code examples
tridiontridion-2011smarttarget

Tridion and SmartTarget: tcdl tags converted to <smarttarget:xxx> instead of <tridion:xxx>


I installed SmartTarget 2011 SP1 on a Tridion 2011 environment (.NET) following the instructions in SDL Live Content.

The problem is that When I publish a page, all my

<tcdl:xxxx>

tags are converted into

<smarttarget:xxx>

The bad thing is that

<tcdl:ComponentPresentation>

is also transformed into

<smarttarget:ComponentPresentation>

instead of

<tridion:ComponentPresentation>

What am I missing? Thank you!

Edited to add TCDLEngine section of cd_deployer_conf.xml (I deleted commented lines):

<TCDLEngine> 
    <Properties> 
        <Property Name="tcdl.dotnet.style" Value="controls"/>  
        <Property Name="tcdl.jsp.style" Value="tags"/>  
    <Property Name="aspnet.tagprefix" Value="tridion" />
    <Property Name="aspnet.tagprefix" Value="smarttarget" />
    </Properties>  

    <TagBundle Resource="com/tridion/smarttarget/tcdl/tagbundle.xml"/>
</TCDLEngine>  

Solution

  • Remove the following elements for your Deployer config:

    <Property Name="aspnet.tagprefix" Value="tridion" />
    <Property Name="aspnet.tagprefix" Value="smarttarget" />