标签: tridion-ui

Tridion UI编辑多媒体组件

我在启用多媒体组件时遇到问题,即通过Tridion UI编辑图像组件.当我使用具有图像字段的通用内容组件时,它可以正常工作,没有任何问题,因为我得到下面的JSON对象:

<!-- Start Component Presentation: { 'ComponentID' : 'tcm:15-5444', 'ComponentModified' : '2012-12-27T12:07:29', 'ComponentTemplateID' : 'tcm:15-5364-32', 'ComponentTemplateModified' : '2012-12-27T11:30:49' } -->
    <div><!-- Start Component Field: {'XPath' : 'tcm:Content/custom:Content/custom:image[1]'} --><img  src="/Preview/_images/15-5366Hero%20Banner.jpg" alt="Banner SE"></div>
Run Code Online (Sandbox Code Playgroud)

但是,直接在组件模板中使用Image Schema Component时,会输出以下标记:

<!-- Start Component Presentation: { 'ComponentID' : 'tcm:15-5366', 'ComponentModified' : '2012-12-18T13:21:46', 'ComponentTemplateID' : 'tcm:15-5364-32', 'ComponentTemplateModified' : '2012-12-27T11:30:49' } -->
    <div><!-- Start Component Field: {'XPath' : 'tcm:Content/custom:Content/custom:Component.ID[1]'} --><img src="/_images/15-5366Hero%20Banner.jpg"    alt="Banner SE"></div>
Run Code Online (Sandbox Code Playgroud)

我知道我可能不需要使用"自定义:组件",因为这在XML中不存在,但你能看到我做错了吗?有没有人有直接在页面上使用多媒体组件的经验,并且能够左侧图像选择侧边栏显示?

此致,比利

tridion tridion-2011 tridion-ui

7
推荐指数
1
解决办法
285
查看次数

无法在新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 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>
Run Code Online (Sandbox Code Playgroud)

tridion tridion-2011 siteedit tridion-ui

6
推荐指数
1
解决办法
133
查看次数

标签 统计

tridion ×2

tridion-2011 ×2

tridion-ui ×2

siteedit ×1