首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Tridion和SmartTarget: tcdl标签转换为<smarttarget:xxx>而不是<tridion:xxx>

Tridion和SmartTarget: tcdl标签转换为<smarttarget:xxx>而不是<tridion:xxx>
EN

Stack Overflow用户
提问于 2012-10-18 20:05:51
回答 1查看 215关注 0票数 8

我按照SmartTarget Live Content中的说明在Tridion2011环境(.NET)上安装了SDL2011 SP1。

问题是,当我发布一个页面时,我所有的

代码语言:javascript
复制
<tcdl:xxxx>

标签被转换为

代码语言:javascript
复制
<smarttarget:xxx>

不好的是

代码语言:javascript
复制
<tcdl:ComponentPresentation>

也被转换为

代码语言:javascript
复制
<smarttarget:ComponentPresentation>

而不是

代码语言:javascript
复制
<tridion:ComponentPresentation>

我遗漏了什么?谢谢!

编辑以添加cd_deployer_conf.xml的TCDLEngine部分(我删除了注释行):

代码语言:javascript
复制
<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>  
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-10-18 21:20:22

删除Deployer配置的以下元素:

代码语言:javascript
复制
<Property Name="aspnet.tagprefix" Value="tridion" />
<Property Name="aspnet.tagprefix" Value="smarttarget" />
票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12954202

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档