Tridion 无法在新UI实现中编辑组件链接字段标题?

Tridion 无法在新UI实现中编辑组件链接字段标题?,tridion,tridion-2011,siteedit,tridion-ui,Tridion,Tridion 2011,Siteedit,Tridion Ui,下面是代码片段 <a class="link-display" target="_self" onclick="doLink('TaggingMetaData:banner;bannerTitle:PRO_Simple Promo;bannerId:64-90667;;url:/newSiteEditSP1/newpagetest.html;urlTarget:_self;urlType:internal;linkTitle:Simple Promo with component li

下面是代码片段

<a class="link-display"  target="_self"  onclick="doLink('TaggingMetaData:banner;bannerTitle:PRO_Simple Promo;bannerId:64-90667;;url:/newSiteEditSP1/newpagetest.html;urlTarget:_self;urlType:internal;linkTitle:Simple Promo with component link;popupparams:;siteEdit:2;Segments1:;Segments2:;Segments3:;Segments4:');return(false);" onkeypress="doLink('TaggingMetaData:banner;bannerTitle:PRO_Simple Promo;bannerId:64-90667;;url:/newSiteEditSP1/newpagetest.html;urlTarget:_self;urlType:internal;linkTitle:Simple Promo with component link;popupparams:;siteEdit:2;Segments1:;Segments2:;Segments3:;Segments4:');return(false);" href="/newSiteEditSP1/newpagetest.html?WT.ac=PRO_Simple+Promo_64-90667_T90672-NE-newsiteeditsp1&oc_id=PRO_Simple+Promo_64-90667_T90672-NE-newsiteeditsp1" >
  <span>
    <!-- Start SiteEdit Component Field: {"XPath" : "tcm:Content/custom:Content/custom:Links[2]/custom:Title"} -->
    Simple Promo with component link
  </span>
</a>

这不会像

<!-- Start SiteEdit Component Field: {"XPath" : "tcm:Content/custom:Content/custom:Links[2]/custom:Title"} -->

您必须为组件链接组件创建siteedit组件表示标记,然后使用

  <span>
     <!-- Start SiteEdit Component Presentation: {"ID" : "cp_uniqueid", "ComponentID" : "component link component id", "ComponentTemplateID" : "templateid", "Version" : 3, "IsQueryBased" : true  } -->
      <span>
   <!-- Start SiteEdit Component Field: {"XPath" : "tcm:Content/custom:Content/custom:Title[1]"} -->
        Simple Promo with component link
      </span>
     </span>

带有组件链接的简单促销
希望能有帮助


谢谢

是的,我已经在组件字段之前创建了组件演示标签,那么有什么问题?请记住,您必须在组件表示标记中使用组件链接组件id,并使用正确的xpath而不使用链接字段。如果您能够解释发生了什么,以及这与您预期的不同,这将有所帮助。由于可用信息有限,我猜您的自定义JavaScript(@onclick)正在干扰编辑。