Hide Sign In Portlet

Have you ever thought of hiding Sign In Portlet? Once I got a requirement to do this for my project. Here is a quick tips. 

Sign In Portlet

Open Office Integration

Liferay has a capability to convert document in different format like pdf, doc...etc. We can convert web content as well as document media content in different format. 

But this feature is not enabled by default. To enable this feature we need to perform some extra steps. 

Liferay Beanshell

Beanshell is a Java scripting language that’s designed to run Java code with little or no changes.  Beanshell doesn’t support the use of Java Generics.


Liferay has a great feature to run java code from the UI. Consider you want to check some java API then beanshell is very handy to use. Because for using beanshell you no need to develop anything. You can just run your liferay API directly. 

Liferay Custom Field



Before going to the topic lets have a look in Liferay Entity. If you have used Liferay Service Builder then you are aware of Liferay Entity. An entity is simply a Java Class which is auto generated by Service Builder. An Entity represents model data and persisted in database. 

Liferay by default it has many entities. Some of them are User,Page,Role and many more.

Liferay provides UI and API to allow for the creation of customized fields  associated with any entity generated by Service Builder. These fields provide extensibility without the need for extending the Liferay DB schema. 


Lets explore how to add custom fields through UI. You need to login to your portal as Admin. Go to your control panel. Click Custom Fields as shown in red color in below picture. 

Liferay Plugin SDK

The Liferay Plugins SDK is a development environment that helps in the development of all types of plugins for Liferay Portal. Following are the plugins supported by Liferay Portal


Configure database with liferay

By default liferay use hsql database. To override this default behavior we can configure to different database of our own interests. Here we are going to show that how can we configure MySQL with Liferay Portal. This is pretty simple database and its free of cost. That's why its taken for this example.

Liferay Installation

Step 1:
Go to the Liferay Official site www.liferay.com
and click download as shown bellow.It will download liferay tomcat bundle. The file looks like liferay-portal-tomcat-6.0.6-20110225.zip