You spoke and we listened. A host of new features makes the latest version of Liferay Portal more flexible than ever before. Hot-deployable themes, flexible portlet layouts, portlet instancing, internationalized content management, and more. It‘s all available to you in Liferay Portal 3.6.
您要求的,我們做到了。新版Liferay Portal集成許多新特性將使得系統比從前更加靈活方便。在線(xiàn)裝配主題(Hot-deployable themes)、自由門(mén)戶(hù)單元排版(flexible portlet layouts)、門(mén)戶(hù)單元多實(shí)例化(portlet instancing)、國際化內容管理(internationalized content management)等等,這些都在新的3.6版中夢(mèng)想成了現實(shí)。
在線(xiàn)裝配主題
Liferay Portal 3.6 allows you to hot-deploy* themes as .war files so you can change your portal‘s look-and-feel on the fly without restarting the server. Theme templates can support any layout imaginable and can be written in jsp or Velocity (VM) languages.
Liferay Portal 3.6中可以在線(xiàn)實(shí)時(shí)裝配新的主題(就如同裝配WAR),所以完全可以在不重新啟動(dòng)應用服務(wù)器的情況下改變門(mén)戶(hù)的外觀(guān)特性。而所謂的主題可以支持各類(lèi)布局系統(如tiles),無(wú)論他們是用JSP還是Velocity (VM)來(lái)實(shí)現的。
The portal ships with four themes to showcase their flexibility and get users started on creating their own custom themes. Be sure to check out our
EducaMadrid case study to get a glimpse of the power of themes. Also see the
Themes User Guide for more information on how to create and manage themes.
系統自帶了四個(gè)主題,足可以展現其靈活性及方便用戶(hù)借以來(lái)創(chuàng )作自己的主題。一定要學(xué)習一下案例EducaMadrid來(lái)體驗一下主題的強大魅力。也可以參閱主題用戶(hù)指南學(xué)習如果制作及管理主題。
*(Provided your app-server supports hot-deploy)
*(前提是所用的應用服務(wù)器要支持實(shí)時(shí)裝載功能)
Drag-and-Drop Portlets Now in Liferay Portal 3.6.0, you can drag and drop your portlets to wherever you want on your page. No longer do you need to click up/down arrows to move a portlet. Nor do you have to be forced to keep a portlet in the column you initially placed it in. Instead, simply click on the title bar of the portlet you wish to move and move it to its new home.
在新版3.6中,用戶(hù)可以隨意通過(guò)拖動(dòng)來(lái)布置門(mén)戶(hù)單元的位置。再也不必一定要通過(guò)向上向下來(lái)調整位置,而且不局限于當前的欄(寬或窄欄),簡(jiǎn)單到只要點(diǎn)擊標題條,拖到新位置就可以實(shí)現移動(dòng)。
Read more about
Portlet Drag-and-Drop positioning.
更多相關(guān)資料請參閱
Portlet Drag-and-Drop。
門(mén)戶(hù)單元多實(shí)例化
Liferay Portal 3.6 supports the creation of multiple instances of the same portlet. You no longer have to duplicate xml code to create multiple instances -- simply click on the portlet name in the page layout admin section to add another portlet instance.
Liferay Portal 3.6支持同時(shí)生成同一門(mén)戶(hù)單元的多個(gè)實(shí)例。你再也不必為了做多個(gè)實(shí)例而把同樣X(jué)ML文件復制來(lái)復制去,而現在只要管理界面直接添加另一個(gè)實(shí)例就OK了。
Liferay.com uses multiple instances of the Journal Content portlet, for example, to lay out its pages.
網(wǎng)站Liferay.com就使用了“學(xué)報內容門(mén)戶(hù)單元”(Journal Content portlet)的多個(gè)實(shí)例,如:布置頁(yè)面。
New "runtime-portlet" Tag
新“在線(xiàn)門(mén)戶(hù)單元”標簽
With the "runtime-portlet" tag, you can now include a portlet instance inside any CMS template or article. The tag is also used by the Portlet Aggregator to provide a mechanism for flexible portlet layout (see below).
有了“在線(xiàn)門(mén)戶(hù)單元”標簽("runtime-portlet" tag),系統可以在CMS模板或文章是引入門(mén)戶(hù)單元的實(shí)例。這個(gè)標簽功能被下文中的“門(mén)戶(hù)單元集成器”用來(lái)實(shí)現靈活的門(mén)戶(hù)單元布局。
"runtime-portlet" takes Liferay Portal to a new level of flexibility in terms of how portlet functionality and CMS-driven content can be blended together. As a simple example "runtime-portlet" is used on Liferay.com‘s front page to include an instance of the login portlet.
在門(mén)戶(hù)單元與CMS內容的融合功能上,“在線(xiàn)門(mén)戶(hù)單元”幾乎是開(kāi)辟了新紀元。作為一個(gè)生成的實(shí)例,Liferay.com首頁(yè)的登錄門(mén)戶(hù)單元就是成功引入的一個(gè)單元實(shí)例。
門(mén)戶(hù)單元集成器
With the Portlet Aggregator, you now have the flexibility to easily create your own custom portlet layouts in addition to the traditional one, two or three column layouts of previous versions of Liferay. The Portlet Aggregator gives you complete control over the layout of any number of portlets. Simply code your layout in HTML and use the "runtime-portlet" tag to lay out the portlets the way you want.
系統增加“門(mén)戶(hù)單元集成器”(Portlet Aggregator)后,用戶(hù)可以靈活地創(chuàng )作自己定制的門(mén)戶(hù)單元布局,而不僅僅是傳統的一列、兩列、三列的模式。也就是說(shuō)集成器給了用戶(hù)對門(mén)戶(hù)單元布局的完全控制權,要做的僅僅是在HTML中使用“在線(xiàn)門(mén)戶(hù)單元”標簽按照自己的想法來(lái)布置就行了。
A maintenance release of Liferay Portal will soon include a GUI for the Portlet Aggregator -- no HTML skills needed -- and the ability to hot-deploy layout templates.
更好的消息是,在即將推出的修正版中將提供給用戶(hù)圖形化界面的集成器編輯工具,不需要任何HTML的技術(shù),你就可以在線(xiàn)裝配自己的模板。
Nested / Child Pages
內嵌/子頁(yè)面
With Liferay Portal 3.6, you can easily add structure to your portal or website by creating child pages under a main parent page. On Liferay.com, for example, the "Products" page includes this page as a child page.
在Liferay Portal 3.6中,用戶(hù)可以輕松在門(mén)戶(hù)系統或站點(diǎn)中,在某主頁(yè)面中增加子頁(yè)面。在Liferay.com網(wǎng)站,本版(英文版)就是作為子頁(yè)面包括在“Products”的頁(yè)面中的。
導航門(mén)戶(hù)單元
The Navigation Portlet allows you to display the navigational structure of a portal page. Because it is a portlet, it automatically determines the navigational structure of the page it is included on, and displays it accordingly.
導航門(mén)戶(hù)單元用來(lái)顯示門(mén)戶(hù)系統的所有單元的結構圖。這個(gè)門(mén)戶(hù)單元可以自動(dòng)偵測門(mén)戶(hù)系統所包含的各單元及結構,并相應的顯示給使用者。
The Navigation Portlet can be used with two display styles, breadcrumb style and bulleted-list style. You can see an instance of the Navigation Portlet using bulleted-listed style in this page‘s left column.
導航門(mén)戶(hù)單元有兩個(gè)顯示風(fēng)格可選:面包屑式(breadcrumb style)和公告牌列表式(bulleted-list style)。在官方網(wǎng)站本頁(yè)面的左邊就是公告牌列表式的例子。
譯者注:前者相當于常見(jiàn)網(wǎng)站導航條,再加當前級的列表;后者相當于樹(shù)狀列表,跟目錄瀏覽類(lèi)似。
Breadcrumb Portlet
面包屑式門(mén)戶(hù)單元
The Breadcrumb Portlet works much like the Navigation Portlet, except navigation pages on the same level as the current page are not displayed.
面包屑式門(mén)戶(hù)單元(Breadcrumb Portlet)基本與導航門(mén)戶(hù)單元類(lèi)似,只是當前頁(yè)面同級的導航單元不再顯示(忽略掉了)而已。
譯者注:相當于常見(jiàn)網(wǎng)站導航條。
Journal Content Portlet
學(xué)報內容門(mén)戶(hù)單元
The Journal Content Portlet allows you to easily display a CMS article on a portal layout page. Editing the preferences of an instance of this portlet takes you to a list of groups and all of the CMS articles available to the group you select. You can also edit the included article directly from the Journal Content portlet, making the process of updating your site content devastatingly simple.
學(xué)報內容門(mén)戶(hù)單元可以使得更容易地在門(mén)戶(hù)布局頁(yè)面中展示相應的CMS文章。通過(guò)編輯單元實(shí)例的首選項,可以在適用的所有CMS文章清單中選擇所要的內容。用戶(hù)也可以在學(xué)報內容門(mén)戶(hù)單元內直接編輯所引入的文章,從而大大加快了開(kāi)發(fā)或發(fā)表文章速度。
Content Management
內容管理
Improvements to the Content Mangement System (Journal portlet) include internationalization for text
and images, as well as the addition of new data types: boolean, list, and multi-select.
在內容管理系統(日記門(mén)戶(hù)單元)包括在文本及圖片方面的國際化,以及boolean、list和multi-select等新的數據類(lèi)型。
JSF Support
JSF支持
Liferay Portal now supports Java Server Faces. Deploy custom JSF portlets using both Sun‘s JSF implementation or the MyFaces implementation.
Liferay Portal系統支持Java Server Faces,包括用Sun及MyFaces對JSF的實(shí)現的門(mén)戶(hù)單元都可以在系統中裝載。