Foren
How redirect Directory portlet to user profile page?
Kaouther Ajala, geändert vor 8 Jahren.
How redirect Directory portlet to user profile page?
New Member Beiträge: 24 Beitrittsdatum: 10.02.15 Neueste Beiträge
hi,
i'm using Liferay 6.2 ,exactly site members directory portelt,this portlet dispaly site members list (name,creen name...)
when i clic in one member it redirect me to an other portlet that contains member informations, but i want to redirect this member link to the profile
of this member(../web/screen_name_user/home),please how to do this?? i need this urgent
i'm using Liferay 6.2 ,exactly site members directory portelt,this portlet dispaly site members list (name,creen name...)
when i clic in one member it redirect me to an other portlet that contains member informations, but i want to redirect this member link to the profile
of this member(../web/screen_name_user/home),please how to do this?? i need this urgent
Samuel Kong, geändert vor 8 Jahren.
RE: How redirect Directory portlet to user profile page?
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
Hi Kaouther,
You should use a JSP hook to change the link and have it point to the user's profile page.
You should use a JSP hook to change the link and have it point to the user's profile page.
Kaouther Ajala, geändert vor 8 Jahren.
RE: How redirect Directory portlet to user profile page?
New Member Beiträge: 24 Beitrittsdatum: 10.02.15 Neueste Beiträge
hi, thanks for your reply
my problem is :which file i should modify ? and how can i get screen name parameter to replace it in /web/screeName/home
thks
my problem is :which file i should modify ? and how can i get screen name parameter to replace it in /web/screeName/home
thks
Samuel Kong, geändert vor 8 Jahren.
RE: How redirect Directory portlet to user profile page?
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
There may be other files you need to modify, but you should start by looking through /html/portlet/directory/view_users.jsp. You can obtain the screen name from the user object.