Foren
How to open the personal site referred from an user object in a new window?
Eflix Robben, geändert vor 12 Jahren.
How to open the personal site referred from an user object in a new window?
New Member Beiträge: 3 Beitrittsdatum: 10.08.11 Neueste Beiträge
Hello everyone,
this is my first post and I am quite new to Liferay.
In my portlet I have added the
Is there any possibility to open the personal site in a new window?
Regards
Eflix
this is my first post and I am quite new to Liferay.
In my portlet I have added the
<liferay-ui:user-display></liferay-ui:user-display>
tag which generates an user object. This object is working perfectly alright and refers to the personal site of the chosen user.Is there any possibility to open the personal site in a new window?
Regards
Eflix
Jignesh Vachhani, geändert vor 12 Jahren.
RE: How to open the personal site referred from an user object in a new win
Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
Yes you can open it in new window.
you should have to modify the <liferay-ui:user-display> tag code.
you should have to modify the <liferay-ui:user-display> tag code.
Eflix Robben, geändert vor 12 Jahren.
RE: How to open the personal site referred from an user object in a new win
New Member Beiträge: 3 Beitrittsdatum: 10.08.11 Neueste Beiträge
Thanks for the quick response,
how exactly would you modify the tag to solve my problem?
I've tried several things before but none of them worked.
Regards Eflix
how exactly would you modify the tag to solve my problem?
I've tried several things before but none of them worked.
Regards Eflix
Jignesh Vachhani, geändert vor 12 Jahren.
RE: How to open the personal site referred from an user object in a new win
Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
if you check start.jsp in tomcat-6.0.26\webapps\ROOT\html\taglib\ui\user_display path you can find that link will be genrate over there so just use _blank in link generate part.
Eflix Robben, geändert vor 12 Jahren.
RE: How to open the personal site referred from an user object in a new win
New Member Beiträge: 3 Beitrittsdatum: 10.08.11 Neueste Beiträge
It works perfectly!
Thanks a lot for your help
Thanks a lot for your help