Foros de discusión

Making the first page as login page in 6.2

Muhammad Umer Zubair, modificado hace 10 años.

Making the first page as login page in 6.2

New Member Mensajes: 18 Fecha de incorporación: 1/01/14 Mensajes recientes
Hello,

Can any body help in order to make the first page as login page. i.e. After accessing portal URL, users will enter login credentials in login page (there will be no site navigation or any content), and after successful logon, complete site with navigation will be opened. If session time out is done, then again page is redirected to login page and all navigation/site is completely hidden.

Thanks!
thumbnail
Tejas Kanani, modificado hace 10 años.

RE: Making the first page as login page in 6.2

Liferay Master Mensajes: 654 Fecha de incorporación: 6/01/09 Mensajes recientes
One way you can achieve this is by creating private pages except the login page.
So all the private pages will not be displayed in public page navigation. And once user logged in from login page(public), you can land user on Private pages by defining it from Control Panel -> Configuration -> Portal Settings -> Default Landing Page. Here provide your private home page url. For example "/group/guest/private-home"
thumbnail
Fil Giu, modificado hace 9 años.

RE: Making the first page as login page in 6.2

Junior Member Mensajes: 48 Fecha de incorporación: 20/11/13 Mensajes recientes
If I want use a Social Office's page for first page ?

The adress of my page is : http://localhost:8080/user/usernameusername/so/dashboard

where usernameusername changes for each user.

What is the address that I should use?
Vishal M, modificado hace 9 años.

RE: Making the first page as login page in 6.2

New Member Mensajes: 14 Fecha de incorporación: 15/07/14 Mensajes recientes
Check this link https://www.liferay.com/community/forums/-/message_boards/message/41889367

or

You can also try
1)
-Create a page Login
-Add sign in portlet, add guest view permissions for login page.
-Add your default landing page as login in control panel.

2)
-Create a theme with modified portal_normal.vm as

#if ($is_signed_in)
----
----
#else
<script>
window.location.href= "--------Your login page-----------"
</script>
#end

- To hide your login page from navigation you can make login page as hidden

3)Apply this theme to all pages..
thumbnail
Fil Giu, modificado hace 9 años.

RE: Making the first page as login page in 6.2

Junior Member Mensajes: 48 Fecha de incorporación: 20/11/13 Mensajes recientes
Sorry, I want this:

Fil Giu:
If I want use a Social Office's page for first page ?

The adress of my page is : http://localhost:8080/user/usernameusername/so/dashboard

where usernameusername changes for each user.

What is the address that I should use?


after login as custom landing page.