P. 1


|Views: 44|Likes:
Publicado porPierluca Martella

More info:

Published by: Pierluca Martella on Apr 11, 2011
Direitos Autorais:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Liferay Portal has a section of the Control Panel which can handle plugin
installation: Plugins Installation, which is in the Server category. This not
only allows you to see what plugins are installed in your portal, but also it
enables you to run the search indexer on those portlets that support it and
install new portlets.

Go to the Dock and select Control Panel. In the Server category, select Plu-

gins Installation.

You should now see the screen which allows you to configure and install


The default look of the Plugin Installer shows which plugins are already
installed on the system, whether it is active, and what Portal roles have
access to it.


Plugin Management

Advanced Liferay Configuration

If you would like to see what plugins are available, you can do so by click-
ing the Install More [Plugin Type] button, where [Plugin Type] changes based
on which tab you are viewing. Please note that the machine upon which
Liferay is running must have access to the Internet in order to be able to read
the Official and Community repositories. If the machine does not have access
to the Internet, you will need to download the plugins from the site and
install them manually. We will discuss how to do this later in this chapter.
From the initial page you can navigate to the different pages of plugins,
as they are all in alphabetical order. You can also change the number of items
per page and navigate to a specific page if you know where a particular plu-
gin appears in the list. This is a standard feature of Liferay, and you will see it
in most of Liferay's portlets.

Plugin Management


Illustration 93: Default plugin installer view

Advanced Liferay Configuration

After the Install More [Plugin Type] button is clicked, a new view appears.
This view has multiple tabs, and by default, displays the Portlet Plugins tab.
Note that the list displayed is a list of all of the plugins that are available
across all of the repositories to which the server is subscribed. Above this is a
search mechanism which allows you to search for plugins by their name, by
whether they are installed, by tag, or by which repository they are in.
To install a plugin, choose the plugin by clicking on its name. For
example, if you want to use online web forms on your web site, you might
want to install the Web Form portlet. This portlet provides a handy interface
which allows you to create forms for users to fill out. The results get emailed
to an address which you specify.
Find the Web Form Portlet in the list by searching for it or browsing to it.
Once you have found it, click on its name. Another page will be displayed
which describes the portlet plugin in more detail. Below the description is an
Install button. Click this button to install your plugin.


Plugin Management

Illustration 94: Installing plugins

Advanced Liferay Configuration

The plugin chosen will be automatically downloaded and installed on
your instance of Liferay. If you have the Liferay console open, you can view
the deployment as it happens. When it is finished, you should be able to go
back to the Add Application window and add your new plugin to a page in
your portal.

The same procedure is used for installing new Liferay Themes, Layout
Templates, hooks, and web modules. Instead of the Portlet Plugins tab, you
would use the appropriate tab for the type of plugin you wish to install to
view the list of plugins of that type. For themes, convenient thumbnails (plus
a larger version when you click on the details of a particular theme) are
shown in the list.

After clicking on the Install button for a theme, the theme becomes
available on the Look and Feel tab of any page.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->