Blog posts

Mon, 22/05/2017
Liferay comes bundles with an integrated Elastic Search server. This answers in port 9200. If you call the url http://localhost:9200/ you will get the following json.
Mon, 15/05/2017
Working with gradle in our IDE is not a problem. The problems begin when we choose to deploy our modules which contain third party libraries in liferay...
Wed, 28/12/2016
We will make a MvcPortlet with a Service builder which on a button click will store a message in the database and then display it.
Mon, 03/10/2016
In liferay 6.2 (yes, it is alive), if you are working with a miltilingual site, you can use a very handy way to define multilingual fields, for example in the preferences of a custom portlet.
Tue, 20/09/2016
PortletResponseUtil is a class to be used in the serveResource, in case you want to serve a file.
Thu, 21/07/2016
Liferay 6.2 is nice, but the guys working on the themes, should make a time travel in the past and use bootstrap 2.3... They don'y like it at all. There are many articles in the web about using bootstrap 3 in a liferay 6.2 theme, but all of them had problems or didn't work at all.
Fri, 15/07/2016
In some of our projects we have the problem, that the portlet plugins are big and slow and the deploy time takes a lot of time. Especially for the web developers, who make for example a css change in a portlets css file and want to see quickly if it is fixed, its very annoying.
Mon, 06/06/2016
At last, after almost two years, I managed finally to make the integration tests work. And it is not so complicated as it seems to be. So straight to the point.
Thu, 26/05/2016
This seems to be, even now, a subject without a specific documentation. The need of thumbnails is very common especially if you are showing content with images in a public url with a lot of traffic.
Wed, 18/05/2016
Lets us assume we want to have an admin portlet in the content area in our site. We can do this by adding the following xml elements in the liferay-portlet.xml