Sunday, November 4, 2012

OS4L - Custom Landing Page Hook


!!!! DOWNLOAD "OS4L Custom Landing Page Hook" from Liferay Market Place now !!!!







- - New options added for site & organization Private Page - -


Hi,

You might have followed my other blog regarding Custom Landing Page Hook. Today I've make some modification in that and made a hook which will be very easy to use without any modification for general use.

I've made it work with a small property change based on your requirement of which landing page you want user to land.
Inside portal.properties in my hook, you'll find below property.



##
## Set this property as per your needs for landing page after user log in. It could be from one of
## the value from below options
## 1. userPrivatePage
## 2. userPublicPage
## 3. sitePublicPage - Newly Added
## 4. sitePrivatePage - Newly Added
## 5. organizationPublicPage - Newly Added
## 6. organizationPrivatePage - Newly Added
##
custom.landing.page.type={userPrivatePage/userPublicPage/sitePublicPage/sitePrivatePage/organizationPublicPage/organizationPrivatePage}


So you just need to set value of custom.landing.page.type from on of the value from userPrivatePage, userPublicPage, sitePublicPage, sitePrivatePage, organizationPublicPage or organizationPrivatePage. So based on the selection hook will land the user on desired page.

Downloads
- OS4L Custom Landing Page Hook packaged war.
OS4L Custom Landing Page Hook Git source - Maven

Now the entire source code is also available from OS4L Git repository. Feel free to fork it.