web2.0主题中的web内容查看器

使用web2.0主题后,如果在当前页面加入web内容查看器的话,主题会自动变为原来的普通主题。官网(半解决)办法:
Problem(Abstract)
You are unable to select the Web 2.0 theme for use with a local rendering portlet.
 
 
Cause
By default, the local rendering portlet is on the Web 2.0 theme's portlet blacklist because of a known issue where the browser applet used to edit content with Rich Text fields does not load correctly in Internet Explorer when using authoring tool components.

If this is not a valid use case in your environment, then you can choose to remove the portlet from the blacklist at your own discretion. It is recommended that you test the local rendering portlet in the Web 2.0 theme before putting it into production.

 
 
Resolving the problem
To use the Web 2.0 theme with a local rendering portlet, you need to remove the local rendering portlet from the blacklist by either removing or commenting out the following line from the portlet blacklist, or by setting the value to "false":

  • "wcm.contentviewer.1001":false

The blacklist is stored in a JavaScript file in the Web 2.0 theme: /js/portletsForServerSideOnly.js.

Any cached copies of the JavaScript file will need to be cleared from browser and proxy caches before the change will take effect in a client browser.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值