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.


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章