Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

practical liferay Java -based Portal Applications development apress phần 3 pps
Nội dung xem thử
Mô tả chi tiết
46 Chapter 2 ■ CREATING PORTAL PAGES
The applications are arranged by category. Click the Admin menu item, select the Plugin
Installer application, and click the Add button next to it. You will find that the application has
been added to your Admin web page (see Figure 2-13).
Figure 2-13. The Plugin Installer application screen
nCaution You must be connected to the Internet while performing these steps.
In the Plugin Installer application, you will find theme plugins, portlet plugins, layouttemplate plugins, and web plugins. Click the Theme Plugins tab to see the list of available
themes and select the Envision 5.1.1.2 theme as an example.
Chapter 2 ■ CREATING PORTAL PAGES 47
nNote These plugins change periodically. If you do not find the Envision theme listed on your screen,
select any available theme for the purposes of this exercise.
Selecting the theme displays the product information on the next screen (see Figure 2-14).
Figure 2-14. Product information on the selected application
Click the Install button to download and install the theme. After the theme downloads
successfully, you will get a Done message at the bottom of the screen, after which Liferay
performs the installation. It takes a few seconds to install the theme on the server; you can
monitor the installation process on the web-server console. Once the theme has deployed successfully, return to the full-page view of your portal.
You can now apply the new theme to a page of your choice. When you drill down to the
Themes option in your Manage Pages application, you will see the newly added theme as
shown in Figure 2-15.
48 Chapter 2 ■ CREATING PORTAL PAGES
Figure 2-15. Updated theme-selection page
Select the new theme to apply it to your web page. If you’re using the Envision theme,
your page will look like the one shown in Figure 2-16.
Figure 2-16. A page with the Envision theme applied
The Plugin Installer application makes it easy to download and install themes directly
through your Liferay portal. But you’ll need to follow a different process to use themes from
Liferay’s user communities. I’ll discuss that next.