使用web2.0主题后,如果在当前页面加入web内容查看器的话,主题会自动变为原来的普通主题。官网(半解决)办法:
| |||
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":
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. |