Wednesday, July 8, 2009

Setting landing and logout page in Liferay

The description applies to Liferay Portal 5.2.1 on Windows Server

1. Verify that file portal-ext.properties is present in directory \webapps\ROOT\WEB-INF\classes\

2. If file is not present, create it using a text editor.

3. Edit portal-ext.properties to contain the following lines:

auth.forward.by.last.path=true
default.logout.page.path=/web/path-to-your/public-home-page
default.landing.page.path=/group/path-to-your/home-page

Example:

auth.forward.by.last.path=true
default.logout.page.path=/web/mycompany/public-home-of-mycompany
default.landing.page.path=/group/mycompany/home-of-mycompany

4. Restart Liferay Portal server

1 comment:

  1. THANKS SRINIVAS! I liked your idea. Let me try it. I hope that it will work great for me as well..I am quite excited about it.

    ReplyDelete