Thursday, January 20, 2011

How to solve error: WARN: [PortletRequestProcessor:507]

Liferay version: 5.2.3
-----------------------------
When you try uploading certain file in Document Library, maybe you will find this warning

WARN: [PortletRequestProcessor:507]

Then the file cannot be uploaded.

Why? The size exceed the limit.

Solution;
1. adjust the size limit size in the Server Administration.

Go to Control Panel > Server Administration > File Uploads


Then adjust the size. In my case, I increased the size to 12 MB.

Tuesday, October 19, 2010

How to set user authenticate in liferay?



There are three types of user authentication in Liferay.
By Email
By Screen Name
By User ID

By default, user authentication setting is 'By Email Address'.

To change this setting, login as portal Admin.
Click Control Panel. And choose Setting >> Authentication >> General.

Then choose the answer either 'By Screen Name' or 'By User ID'.

Next, click 'Save'.

Monday, September 6, 2010

My content too long, how to break page?

My content is too long. Then I need to break them into more than a page.

So just add @page_break@ to do it.


The result shown below.

Wednesday, August 11, 2010

Set dwilanguage for portlet title

In this example, I use Bahasa (Malay language) and English.

To set value for each language, we can customize the value in Look and Feel part.
Step 1: Click icon Look and Feel in the portlet header.


Step 2: Click tab Portlet Configuration, check box Use Cutom Title. Then define portlet title to appropriate language.


Step 3: Save.

Then results shown below.
a) Bahasa (Malay language)


b) English.