Friday, February 15, 2013

How to change portlet title's icon in Liferay

When we create a new portlet in Liferay with Liferay SDK, there come with a default icon in front of the portle title.
We can actually change the icon, so that it is more precise to present our portlet.

change Liferay portlet's title icon

The purpose to change the default icon is to differentiate our custom portlet with Liferay's portle, we can change the icon to our flagship logo, to increase users' awareness.

It is pretty simple to change the default title icon, below are the steps.


Steps:
1. Open liferay-portlet.xml of the particular portlet
2. find the <icon> tag
change Liferay portlet's title icon
3. change the /icon.png.

Done!!

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...