27 July, 2012

Pagination in Liferay 6.1

Guys if you are thinking to put pagination in liferay,
use below code which is absolutely running properly and i would be putting more information regarding pagination with some more feature which supppoted by OOB liferay pagination.

25 July, 2012

Get Image From Image Gallery

You can re-use below code to get image from image gallery and can use in any of your portlet.


private IGImage getImage(IGFolder igFolder, String imageName, ThemeDisplay themeDisplay) {
        IGImage igImage = null;
        if (igFolder != null) {
            try {
                List imgList = IGImageLocalServiceUtil.getImages(themeDisplay.getScopeGroupId(), igFolder.getFolderId());

                for (IGImage igImg : imgList) {
                    if (imageName.equalsIgnoreCase(igImg.getName())) {
                        igImage = igImg;
                        break;
                    }
                }

            } catch (Exception e) {
             System.out.println(e.getMessage());
            }
        }
        return igImage;
    }

20 July, 2012

First LIUG Meetup in Ahmedabad

Hello Liferay Folks,

First time we are organizing LIUG (Liferay India User Group) meetup in Ahmedabad(Gujarat).
So stay tune here and be update with more information very soon.

Please visit this page regular for more update :
http://www.liferaysolution.com/p/liug.html

18 July, 2012

Custom LDAP attributes import

Hi Everyone,
If you want to import LDAP extra attributes in liferay , then you can achive this functionality two different ways :

06 July, 2012

LDAP import export


I know that this is very simple,
but when you configure your liferay first time with LDAP then this article will help you.

Follow below steps to configure LDAP with liferay :