Showing posts with label Setting landing and logout page in Liferay. Show all posts
Showing posts with label Setting landing and logout page in Liferay. Show all posts

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