Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
maryam maryam masoudy
set default page on subdoamin
16 de Fevereiro de 2013 02:01
Resposta

maryam maryam masoudy

Ranking: Regular Member

Mensagens: 149

Data de entrada: 30 de Outubro de 2011

Mensagens recentes

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
16 de Fevereiro de 2013 02:06
Resposta

Gnaniyar Zubair

Ranking: Liferay Master

Mensagens: 602

Data de entrada: 19 de Dezembro de 2007

Mensagens recentes

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
16 de Fevereiro de 2013 02:13
Resposta

maryam maryam masoudy

Ranking: Regular Member

Mensagens: 149

Data de entrada: 30 de Outubro de 2011

Mensagens recentes

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
16 de Fevereiro de 2013 02:20
Resposta

Gnaniyar Zubair

Ranking: Liferay Master

Mensagens: 602

Data de entrada: 19 de Dezembro de 2007

Mensagens recentes

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
16 de Fevereiro de 2013 02:26
Resposta

maryam maryam masoudy

Ranking: Regular Member

Mensagens: 149

Data de entrada: 30 de Outubro de 2011

Mensagens recentes

oo
i have some organization
i think Ur idea change all default page for all organization
Gnaniyar Zubair
RE: set default page on subdoamin
16 de Fevereiro de 2013 02:31
Resposta

Gnaniyar Zubair

Ranking: Liferay Master

Mensagens: 602

Data de entrada: 19 de Dezembro de 2007

Mensagens recentes

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
16 de Fevereiro de 2013 02:35
Resposta

maryam maryam masoudy

Ranking: Regular Member

Mensagens: 149

Data de entrada: 30 de Outubro de 2011

Mensagens recentes

oh
there is not a fast and easy resolv?
really?
maryam maryam masoudy
RE: set default page on subdoamin
16 de Fevereiro de 2013 02:48
Resposta

maryam maryam masoudy

Ranking: Regular Member

Mensagens: 149

Data de entrada: 30 de Outubro de 2011

Mensagens recentes

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
16 de Fevereiro de 2013 03:29
Resposta

Gnaniyar Zubair

Ranking: Liferay Master

Mensagens: 602

Data de entrada: 19 de Dezembro de 2007

Mensagens recentes

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

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