Foren

Customizing Landing page before signing in

thumbnail
Jyoti RS, geändert vor 11 Jahren.

Customizing Landing page before signing in

New Member Beiträge: 14 Beitrittsdatum: 21.11.12 Neueste Beiträge
Hi Friends,

I am new to liferay and i wanna customize welcome page before signing in

please let me know the steps to follow.
i would like if i can do it using portal-properties file.
if there is any other method please let me know..
thanks in advance.
any idea or suggestions are welcome..
thumbnail
Gaurav Jain, geändert vor 11 Jahren.

RE: Customizing Landing page before signing in

Regular Member Beiträge: 145 Beitrittsdatum: 31.01.11 Neueste Beiträge
What exactly do you mean by welcome page?
thumbnail
Jyoti RS, geändert vor 11 Jahren.

RE: Customizing Landing page before signing in

New Member Beiträge: 14 Beitrittsdatum: 21.11.12 Neueste Beiträge
Landing page where url will get redirected to localhost:8080/web/guest

and I am not finding where this web/guest is located in and how to redirect to my own home page
Hiral Barot, geändert vor 11 Jahren.

RE: Customizing Landing page before signing in

New Member Beiträge: 17 Beitrittsdatum: 03.01.12 Neueste Beiträge
Hi Jyoti,

You can achieve this by writing PostLoginAction hook.
thumbnail
Gaurav Jain, geändert vor 11 Jahren.

RE: Customizing Landing page before signing in

Regular Member Beiträge: 145 Beitrittsdatum: 31.01.11 Neueste Beiträge
/web/guest is liferay url and not any direct page.

localhost:8080/web/guest already points to home page. Goto Control Panel > Manage Pages. set your required page as home page by dragging it to first location.
thumbnail
Abhed Dekavadiya, geändert vor 11 Jahren.

RE: Customizing Landing page before signing in

Junior Member Beiträge: 74 Beitrittsdatum: 05.10.10 Neueste Beiträge
Override below property in portal-ext.properties file. Place the portal-ext.properties file in ROOT/WEB-INF/classes

default.landing.page.path=/web/guest/my-landing-page

where:
/web/guest/my-landing-page is path to your page where you want users to land after login. /web/guest is reference to default guest(liferay) community, and not url to any actual page. After the community url, you need to provide friendly-url of your landing page (my-landing-page), which is actual liferay page.

You can achieve the same by login as administrator and go to Control Panel -> Portal (tab/section) -> Settings -> Default landing page and set value "/web/guest/my-landing-page"

kind regards,
Abhed Dekavadiya
thumbnail
Jyoti RS, geändert vor 11 Jahren.

RE: Customizing Landing page before signing in

New Member Beiträge: 14 Beitrittsdatum: 21.11.12 Neueste Beiträge
Thanks for all replies emoticon
That Helped !!!!