Forums de discussion

Making the first page as login page in 6.2

Muhammad Umer Zubair, modifié il y a 10 années.

Making the first page as login page in 6.2

New Member Publications: 18 Date d'inscription: 01/01/14 Publications récentes
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, modifié il y a 10 années.

RE: Making the first page as login page in 6.2

Liferay Master Publications: 654 Date d'inscription: 06/01/09 Publications récentes
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, modifié il y a 9 années.

RE: Making the first page as login page in 6.2

Junior Member Publications: 48 Date d'inscription: 20/11/13 Publications récentes
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, modifié il y a 9 années.

RE: Making the first page as login page in 6.2

New Member Publications: 14 Date d'inscription: 15/07/14 Publications récentes
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, modifié il y a 9 années.

RE: Making the first page as login page in 6.2

Junior Member Publications: 48 Date d'inscription: 20/11/13 Publications récentes
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.