Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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>  
like image 461
Inmaculada Palacios Avatar asked Oct 18 '12 12:10

Inmaculada Palacios


1 Answers

Remove the following elements for your Deployer config:

<Property Name="aspnet.tagprefix" Value="tridion" />
<Property Name="aspnet.tagprefix" Value="smarttarget" />
like image 190
Jeremy Grand-Scrutton Avatar answered Sep 22 '22 20:09

Jeremy Grand-Scrutton