segunda-feira, 4 de maio de 2015

Liferay - Home Page, Landing Page and Logout Page.

When you're developing a project to a client, it can be required that you define the first page as the login page of your application. To do so, edit the portal.ext.properties file and add the next lines: 
#*******DEFAULT LANDING PAGE*******#
default.landing.page.path=path
default.logout.page.path=path

#******HOME PAGE*******#
company.default.home.url=path

The default.landing.page.path is the page where you'll be redirected after you've logged in into liferay.
The default.logout.page.path is the page where you'll be redirected after you've logged out off liferay or your application.
The company.default.home.url is the page where you'll be redirected after you access your base hostname, like localhost:8080.

Restart your application server so your changes take effect.

Sem comentários:

Enviar um comentário