Sun*_*dar 6 tridion tridion2009 tridion-2011
在Tridion中,我有一个附加组件的页面,该页面有一个文本字段,其中有一个iframe标签<iframe src="http://mysite.com/l/5042/2012-06-21/9pb4y" width="100%" height="500" frameborder="0" style="border: 0" > </iframe>.我确保此标记在处理时保持原样C# & DWT template building blocks.但是在页面发布时,在页面源中,标签会更改为<iframe src="http://mysite.com/l/5042/2012-06-21/9pb4y" width="100%" height="500" frameborder="0" style="border: 0" />.因此,页面源不会在iframe标记后显示任何内容.因此,在包含iframe标记的组件之后附加到页面的任何组件都不会显示在页面上.知道为什么结束标签</iframe>被自闭标签取代了/>吗?
正如Frank提到的,您可以使用Convert XML to HTML TBB
(OR)
Run Code Online (Sandbox Code Playgroud)
您还可以考虑Chris在此主题中提供的解决方案.使用SDL Tridion 2011 SP1在富文本字段中创建锚链接
您将xslt应用于架构字段定义.虽然TBB选项适用于完整的CT/PT,具体取决于您使用它的位置,但使用XSLT时,您可以在字段级别使用它,并在将CoreService用于任何其他用例时获得相同的格式.
| 归档时间: |
|
| 查看次数: |
635 次 |
| 最近记录: |