Fórumok
Change default site url in liferay 6.1
Navin Kumar, módosítva 10 év-val korábban
Change default site url in liferay 6.1
New Member Bejegyzések: 4 Csatlakozás dátuma: 2013.09.14. Legújabb bejegyzések
Hi all,
Im using liferay 6.1 and i want to change the url to my page when ever i click the logo in the portal.
I tried to debug that and found $site_default_url contains the value in the theme(portal_normal.vm).
Please suggest me how to do this .
Thanks in advance.
Im using liferay 6.1 and i want to change the url to my page when ever i click the logo in the portal.
I tried to debug that and found $site_default_url contains the value in the theme(portal_normal.vm).
Please suggest me how to do this .
Thanks in advance.
Aalap Himanshuroy Desai, módosítva 10 év-val korábban
RE: Change default site url in liferay 6.1
New Member Bejegyzések: 14 Csatlakozás dátuma: 2011.09.16. Legújabb bejegyzések
Hi Navin,
Now you want to redirect to another url other than / web/guest/home.
For this create a new variable in init_custom.vm #set ($portal_url_modified = $portalUtil.getPortalURL($theme_display)+"/web/guest/test") and in portal_normal.vm in place of $site_default_url use $portal_url_modified.
Now when you click on the logo it will redirect to the "http://localhost:8080/web/guest/test".
I hope this will help you.
Thanks,
Aalap Desai.
Now you want to redirect to another url other than / web/guest/home.
For this create a new variable in init_custom.vm #set ($portal_url_modified = $portalUtil.getPortalURL($theme_display)+"/web/guest/test") and in portal_normal.vm in place of $site_default_url use $portal_url_modified.
Now when you click on the logo it will redirect to the "http://localhost:8080/web/guest/test".
I hope this will help you.
Thanks,
Aalap Desai.