留言板
how to hit another site using a link in one site
Puneet Upadhyay,修改在12 年前。
how to hit another site using a link in one site
Regular Member 帖子: 234 加入日期: 11-10-22 最近的帖子
hi all,
how can i hit another site url from one site ?
how can i hit another site url from one site ?
Thiago Leão Moreira,修改在12 年前。
RE: how to hit another site using a link in one site
Liferay Legend 帖子: 1449 加入日期: 07-10-10 最近的帖子
Hi Puneet,
You can use the friendlyUrl to go from one site to another. Or you can get the plid from the target Layout object (page) to build a LiferayPortletURL.
You can use the friendlyUrl to go from one site to another. Or you can get the plid from the target Layout object (page) to build a LiferayPortletURL.
Puneet Upadhyay,修改在12 年前。
RE: how to hit another site using a link in one site
Regular Member 帖子: 234 加入日期: 11-10-22 最近的帖子
Hi thiago !!!
I wanna make a traversal portlet for it. In the form of Drop down menu.
When i select a parent organization on one drop down then in second drop down all the child organization are come and same
for the lower hierarchy. Behind the scene what i need to do for that in liferay??
I wanna make a traversal portlet for it. In the form of Drop down menu.
When i select a parent organization on one drop down then in second drop down all the child organization are come and same
for the lower hierarchy. Behind the scene what i need to do for that in liferay??
Sagar A Vyas,修改在12 年前。
RE: how to hit another site using a link in one site
Liferay Master 帖子: 679 加入日期: 09-4-17 最近的帖子Puneet Upadhyay:
hi all,
how can i hit another site url from one site ?
Hi Puneet,
What I understood from your requirement
You have one URL in your page and by clicking on same you need to redirect on third party URL. ?
you can put simple anchor tag in it. (dont forget http).
<a href="http://www.google.com">Google</a>
Thanks,
Sagar Vyas
Puneet Upadhyay,修改在12 年前。
RE: how to hit another site using a link in one site
Regular Member 帖子: 234 加入日期: 11-10-22 最近的帖子
Thanks Sagar !! But my requirement is in liferay portal organization hierarchy....
do you hav any idea regarding that???
do you hav any idea regarding that???
Venkat Koppavolu,修改在12 年前。
RE: how to hit another site using a link in one site
Junior Member 帖子: 85 加入日期: 10-7-26 最近的帖子
Puneet,
As per my understand, your requirement is to navigate pages with in two or more organization(communities).
Yes you can navigate if they are public pages..
if they are private pages user should have VIEW permissions on the particular page.
Public Pages
<a href="/web/<oganizationname>/<pagename>">Public Page Link1</a>
Private Pages
<a href="/group/<oganizationname>/<pagename>">Private Page Link1</a>
Ex:
<a href="/web/myorganization/welcome">Welcome</a> or <a href="/web/123434/welcome">Welcome</a> or /c/portal/layout?p_l_id=343434
myorganization - organizationanme
123434 - organizationid
welcome - pageName
343434 - pageId
To navigate to another link or page you need organizationname and pagename or pageId
Thanks,
Venkat
As per my understand, your requirement is to navigate pages with in two or more organization(communities).
Yes you can navigate if they are public pages..
if they are private pages user should have VIEW permissions on the particular page.
Public Pages
<a href="/web/<oganizationname>/<pagename>">Public Page Link1</a>
Private Pages
<a href="/group/<oganizationname>/<pagename>">Private Page Link1</a>
Ex:
<a href="/web/myorganization/welcome">Welcome</a> or <a href="/web/123434/welcome">Welcome</a> or /c/portal/layout?p_l_id=343434
myorganization - organizationanme
123434 - organizationid
welcome - pageName
343434 - pageId
To navigate to another link or page you need organizationname and pagename or pageId
Thanks,
Venkat
Thiago Leão Moreira,修改在12 年前。
RE: how to hit another site using a link in one site
Liferay Legend 帖子: 1449 加入日期: 07-10-10 最近的帖子
You can get some ideas from the MyPlacesTag (/html/taglib/ui/my_places/page.jsp).
Puneet Upadhyay,修改在12 年前。
RE: how to hit another site using a link in one site
Regular Member 帖子: 234 加入日期: 11-10-22 最近的帖子
Hi Thiago !!!
From where i can get that??
From where i can get that??
Thiago Leão Moreira,修改在12 年前。
RE: how to hit another site using a link in one site
Liferay Legend 帖子: 1449 加入日期: 07-10-10 最近的帖子
It is in the Liferay source code.
Puneet Upadhyay,修改在12 年前。
RE: how to hit another site using a link in one site
Regular Member 帖子: 234 加入日期: 11-10-22 最近的帖子
in which package??
Sagar A Vyas,修改在12 年前。
RE: how to hit another site using a link in one site
Liferay Master 帖子: 679 加入日期: 09-4-17 最近的帖子Puneet Upadhyay:
in which package??
Hi Puneet,
As mention by Thiago,Just go to following path of your portal srouce
\iferay-portal-src-6.0-ee-sp1\portal-web\docroot\html\taglib\/ui/my_places/page.jsp
Thanks,
Sagar Vyas
Puneet Upadhyay,修改在12 年前。
RE: how to hit another site using a link in one site
Regular Member 帖子: 234 加入日期: 11-10-22 最近的帖子
Hi sagar !!!
But i am unable to find page.jsp inside the my_places folder because that is blank.
there is no file.
But i am unable to find page.jsp inside the my_places folder because that is blank.
there is no file.
Sagar A Vyas,修改在12 年前。
RE: how to hit another site using a link in one site
Liferay Master 帖子: 679 加入日期: 09-4-17 最近的帖子Puneet Upadhyay:
Hi sagar !!!
But i am unable to find page.jsp inside the my_places folder because that is blank.
there is no file.
Hi Punnet,
Strange !! There should be page.jsp.
Do you want me to share that file ?
or Are you looking at some other part ?
Please let me know.
Thanks,
Sagar Vyas
Puneet Upadhyay,修改在12 年前。
RE: how to hit another site using a link in one site
Regular Member 帖子: 234 加入日期: 11-10-22 最近的帖子
Please share me that file and also if you can..... please provide me the solution for the same. Thanks
Sagar A Vyas,修改在12 年前。
RE: how to hit another site using a link in one site
Liferay Master 帖子: 679 加入日期: 09-4-17 最近的帖子Puneet Upadhyay:
Please share me that file and also if you can..... please provide me the solution for the same. Thanks
Hi Puneet,
Please find page.jsp for same.
Thanks,
Sagar Vyas
附件:
Sagar A Vyas,修改在12 年前。
RE: how to hit another site using a link in one site
Liferay Master 帖子: 679 加入日期: 09-4-17 最近的帖子Puneet Upadhyay:
Thanks Sagar !! But my requirement is in liferay portal organization hierarchy....
do you hav any idea regarding that???
Hi Punnet,
Did you try with Venkat's solution ?
It should work i guess.
Thanks,
Sagar Vyas