Fórum
How to navigate the user his organization page directly.
Kiran Kumar Boyini, modificado 11 Anos atrás.
How to navigate the user his organization page directly.
Expert Postagens: 287 Data de Entrada: 02/06/11 Postagens Recentes
Hi All,
I want to navigate the user to his organization site or organization default page ,which he belongs after sign in successfully.
how it is possible .
Thanks,
Kiran
I want to navigate the user to his organization site or organization default page ,which he belongs after sign in successfully.
how it is possible .
Thanks,
Kiran
Bart Simpson, modificado 11 Anos atrás.
RE: How to navigate the user his organization page directly.
Liferay Master Postagens: 522 Data de Entrada: 29/08/11 Postagens Recentes
Create a
Set the "LAST_PATH" attribute in session to the user's site / organization using something like :-
login.events.post
hook and extend the Action class. Set the "LAST_PATH" attribute in session to the user's site / organization using something like :-
com.liferay.portal.service.GroupLocalServiceUtil.getUserGroups(long userId)).get(0).getFriendlyURL()
Apoorva Prakash, modificado 11 Anos atrás.
RE: How to navigate the user his organization page directly.
Liferay Master Postagens: 658 Data de Entrada: 15/06/10 Postagens Recentes
Hello Kiran Kumar,
There are some properties in portal.properties, they may help you...
Hope this will help...
Thanks and Regards,
Apoorva Prakash
There are some properties in portal.properties, they may help you...
##
## Set this property as per your needs for landing page after user log in. It could be from one of
## the value from below options
## 1. userPrivatePage
## 2. userPublicPage
## 3. site
## 4. organization
##
custom.landing.page.type={userPrivatePage/userPublicPage/site/organization}
Hope this will help...
Thanks and Regards,
Apoorva Prakash