Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
maryam maryam masoudy
set default page on subdoamin
February 16, 2013 2:01 AM
Answer

maryam maryam masoudy

Rank: Regular Member

Posts: 149

Join Date: October 30, 2011

Recent Posts

hi friends
i use subdoamian and import lar in new organization.
i set my subdomain to my organization
but i have a problem
i can use subomain
but i want to my default subodmain change
example if a user enter : www.sub.domain.com go to www.sub.domain.com/about
www.sub.doamian.com=www.sub.domain.com/about
Gnaniyar Zubair
RE: set default page on subdoamin
February 16, 2013 2:06 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 601

Join Date: December 19, 2007

Recent Posts

You can set this through control panel :

Go to Control Panel --> Portal --> Portal Setting ->
set Default Landing Page = /about
maryam maryam masoudy
RE: set default page on subdoamin
February 16, 2013 2:13 AM
Answer

maryam maryam masoudy

Rank: Regular Member

Posts: 149

Join Date: October 30, 2011

Recent Posts

i work with liferay 5.2.3
i can not find this propery
please say on liferay 5.2.3
thanks
Gnaniyar Zubair
RE: set default page on subdoamin
February 16, 2013 2:20 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 601

Join Date: December 19, 2007

Recent Posts

then you can set this property in portal-ext.properties file :

default.landing.page.path=/about
maryam maryam masoudy
RE: set default page on subdoamin
February 16, 2013 2:26 AM
Answer

maryam maryam masoudy

Rank: Regular Member

Posts: 149

Join Date: October 30, 2011

Recent Posts

oo
i have some organization
i think Ur idea change all default page for all organization
Gnaniyar Zubair
RE: set default page on subdoamin
February 16, 2013 2:31 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 601

Join Date: December 19, 2007

Recent Posts

Then you have to override login.events.post through event HOOK.

Please refer this Link :

http://www.opensourceforlife.com/2012/07/custom-landing-page-using-hook-liferay.html
maryam maryam masoudy
RE: set default page on subdoamin
February 16, 2013 2:35 AM
Answer

maryam maryam masoudy

Rank: Regular Member

Posts: 149

Join Date: October 30, 2011

Recent Posts

oh
there is not a fast and easy resolv?
really?
maryam maryam masoudy
RE: set default page on subdoamin
February 16, 2013 2:48 AM
Answer

maryam maryam masoudy

Rank: Regular Member

Posts: 149

Join Date: October 30, 2011

Recent Posts

http://www.opensourceforlife.com/2012/07/custom-landing-page-using-hook-liferay.html
this page is about liferay6.1 :

Custom Landing page using hook - Liferay 6.1
i work with liferay 5.2.3
Gnaniyar Zubair
RE: set default page on subdoamin
February 16, 2013 3:29 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 601

Join Date: December 19, 2007

Recent Posts

if they provide entire thing, then what should we develop? emoticon

Try the event hook in Liferay 5.2.3 . i guess it supports .