留言板

set default page on subdoamin

thumbnail
maryam maryam masoudy,修改在11 年前。

set default page on subdoamin

Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
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
thumbnail
Gnaniyar Zubair,修改在11 年前。

RE: set default page on subdoamin

Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
You can set this through control panel :

Go to Control Panel --> Portal --> Portal Setting ->
set Default Landing Page = /about
thumbnail
maryam maryam masoudy,修改在11 年前。

RE: set default page on subdoamin

Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
i work with liferay 5.2.3
i can not find this propery
please say on liferay 5.2.3
thanks
thumbnail
Gnaniyar Zubair,修改在11 年前。

RE: set default page on subdoamin

Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
then you can set this property in portal-ext.properties file :

default.landing.page.path=/about
thumbnail
maryam maryam masoudy,修改在11 年前。

RE: set default page on subdoamin

Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
oo
i have some organization
i think Ur idea change all default page for all organization
thumbnail
Gnaniyar Zubair,修改在11 年前。

RE: set default page on subdoamin

Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
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
thumbnail
maryam maryam masoudy,修改在11 年前。

RE: set default page on subdoamin

Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
oh
there is not a fast and easy resolv?
really?
thumbnail
maryam maryam masoudy,修改在11 年前。

RE: set default page on subdoamin

Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
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
thumbnail
Gnaniyar Zubair,修改在11 年前。

RE: set default page on subdoamin

Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
if they provide entire thing, then what should we develop? emoticon

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