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集成許多新特性將使得系統(tǒng)比從前更加靈活方便。在線裝配主題(Hot-deployable themes)、自由門戶單元排版(flexible portlet layouts)、門戶單元多實例化(portlet instancing)、國際化內(nèi)容管理(internationalized content management)等等,這些都在新的3.6版中夢想成了現(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中可以在線實時裝配新的主題(就如同裝配WAR),所以完全可以在不重新啟動應(yīng)用服務(wù)器的情況下改變門戶的外觀特性。而所謂的主題可以支持各類布局系統(tǒng)(如tiles),無論他們是用JSP還是Velocity (VM)來實現(xiàn)的。
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.
系統(tǒng)自帶了四個主題,足可以展現(xiàn)其靈活性及方便用戶借以來創(chuàng)作自己的主題。一定要學(xué)習(xí)一下案例EducaMadrid來體驗一下主題的強(qiáng)大魅力。也可以參閱主題用戶指南學(xué)習(xí)如果制作及管理主題。
*(Provided your app-server supports hot-deploy)
*(前提是所用的應(yīng)用服務(wù)器要支持實時裝載功能)
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中,用戶可以隨意通過拖動來布置門戶單元的位置。再也不必一定要通過向上向下來調(diào)整位置,而且不局限于當(dāng)前的欄(寬或窄欄),簡單到只要點擊標(biāo)題條,拖到新位置就可以實現(xiàn)移動。
Read more about
Portlet Drag-and-Drop positioning.
更多相關(guān)資料請參閱
Portlet Drag-and-Drop。
門戶單元多實例化
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支持同時生成同一門戶單元的多個實例。你再也不必為了做多個實例而把同樣XML文件復(fù)制來復(fù)制去,而現(xiàn)在只要管理界面直接添加另一個實例就OK了。
Liferay.com uses multiple instances of the Journal Content portlet, for example, to lay out its pages.
網(wǎng)站Liferay.com就使用了“學(xué)報內(nèi)容門戶單元”(Journal Content portlet)的多個實例,如:布置頁面。
New "runtime-portlet" Tag
新“在線門戶單元”標(biāo)簽
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).
有了“在線門戶單元”標(biāo)簽("runtime-portlet" tag),系統(tǒng)可以在CMS模板或文章是引入門戶單元的實例。這個標(biāo)簽功能被下文中的“門戶單元集成器”用來實現(xiàn)靈活的門戶單元布局。
"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.
在門戶單元與CMS內(nèi)容的融合功能上,“在線門戶單元”幾乎是開辟了新紀(jì)元。作為一個生成的實例,Liferay.com首頁的登錄門戶單元就是成功引入的一個單元實例。
門戶單元集成器
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.
系統(tǒng)增加“門戶單元集成器”(Portlet Aggregator)后,用戶可以靈活地創(chuàng)作自己定制的門戶單元布局,而不僅僅是傳統(tǒng)的一列、兩列、三列的模式。也就是說集成器給了用戶對門戶單元布局的完全控制權(quán),要做的僅僅是在HTML中使用“在線門戶單元”標(biāo)簽按照自己的想法來布置就行了。
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.
更好的消息是,在即將推出的修正版中將提供給用戶圖形化界面的集成器編輯工具,不需要任何HTML的技術(shù),你就可以在線裝配自己的模板。
Nested / Child Pages
內(nèi)嵌/子頁面
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中,用戶可以輕松在門戶系統(tǒng)或站點中,在某主頁面中增加子頁面。在Liferay.com網(wǎng)站,本版(英文版)就是作為子頁面包括在“Products”的頁面中的。
導(dǎo)航門戶單元
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.
導(dǎo)航門戶單元用來顯示門戶系統(tǒng)的所有單元的結(jié)構(gòu)圖。這個門戶單元可以自動偵測門戶系統(tǒng)所包含的各單元及結(jié)構(gòu),并相應(yīng)的顯示給使用者。
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.
導(dǎo)航門戶單元有兩個顯示風(fēng)格可選:面包屑式(breadcrumb style)和公告牌列表式(bulleted-list style)。在官方網(wǎng)站本頁面的左邊就是公告牌列表式的例子。
譯者注:前者相當(dāng)于常見網(wǎng)站導(dǎo)航條,再加當(dāng)前級的列表;后者相當(dāng)于樹狀列表,跟目錄瀏覽類似。
Breadcrumb Portlet
面包屑式門戶單元
The Breadcrumb Portlet works much like the Navigation Portlet, except navigation pages on the same level as the current page are not displayed.
面包屑式門戶單元(Breadcrumb Portlet)基本與導(dǎo)航門戶單元類似,只是當(dāng)前頁面同級的導(dǎo)航單元不再顯示(忽略掉了)而已。
譯者注:相當(dāng)于常見網(wǎng)站導(dǎo)航條。
Journal Content Portlet
學(xué)報內(nèi)容門戶單元
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é)報內(nèi)容門戶單元可以使得更容易地在門戶布局頁面中展示相應(yīng)的CMS文章。通過編輯單元實例的首選項,可以在適用的所有CMS文章清單中選擇所要的內(nèi)容。用戶也可以在學(xué)報內(nèi)容門戶單元內(nèi)直接編輯所引入的文章,從而大大加快了開發(fā)或發(fā)表文章速度。
Content Management
內(nèi)容管理
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.
在內(nèi)容管理系統(tǒng)(日記門戶單元)包括在文本及圖片方面的國際化,以及boolean、list和multi-select等新的數(shù)據(jù)類型。
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系統(tǒng)支持Java Server Faces,包括用Sun及MyFaces對JSF的實現(xiàn)的門戶單元都可以在系統(tǒng)中裝載。