Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
ponraj s
landing to different communities based on their user-groups
March 20, 2013 2:38 AM
Answer

ponraj s

Rank: Junior Member

Posts: 31

Join Date: October 12, 2011

Recent Posts

My requirement is that i have a life ray portal which has two types of user creation process 1.manual creation by the admin 2.users can create via create account .i want to land the users to different landing pages based on the user-groups .user creation process1 belongs to one group and process2 belongs to another group.how to achieve it.process1 is working fine by setting the default landing path but i want to land the users who are created by process2 to a different landing page .

Thanks in advance!!

Regards,
S.Ponraj.
Apoorva Prakash
RE: landing to different communities based on their user-groups
March 20, 2013 2:48 AM
Answer

Apoorva Prakash

Rank: Liferay Master

Posts: 659

Join Date: June 15, 2010

Recent Posts

ponraj s:
My requirement is that i have a life ray portal which has two types of user creation process 1.manual creation by the admin 2.users can create via create account .i want to land the users to different landing pages based on the user-groups .user creation process1 belongs to one group and process2 belongs to another group.how to achieve it.process1 is working fine by setting the default landing path but i want to land the users who are created by process2 to a different landing page .

Thanks in advance!!

Regards,
S.Ponraj.


Hi Ponraj,

You have to implement custom ServicePreAction, form where you can check user with specific use case and redirect them accordingly.

Check this blog post for implementation.

Hope this will help.

Thanks and Regards,
Apoorva Prakash
ponraj s
RE: landing to different communities based on their user-groups
March 20, 2013 2:52 AM
Answer

ponraj s

Rank: Junior Member

Posts: 31

Join Date: October 12, 2011

Recent Posts

Thanks Apoorva Prakash. i will check out the blog and work on it .

Regards,
S.Ponraj.
mohammad azaruddin
RE: landing to different communities based on their user-groups
March 20, 2013 10:29 PM
Answer

mohammad azaruddin

Rank: Expert

Posts: 451

Join Date: September 17, 2012

Recent Posts

Hi

I think ur looking for this
  1. custom landing page
  2. liferay marketplace



Regards
azhar
Victor Zorin
RE: landing to different communities based on their user-groups
March 21, 2013 12:12 AM
Answer

Victor Zorin

Rank: Liferay Legend

Posts: 1176

Join Date: April 14, 2008

Recent Posts

Just another way of implementing custom landing page, based on custom properties of organisation or user: MyPlaces Landing Page Hook.

You do not have to use it, it may just bring another idea to you.

The issue is not how to implement the hook, it is all about where and how to define/administer the custom landing page. In the above mentioned hook you use Organisation's properties to define whether this organisation is the primary target for landing.

Or you can use Custom Fields of an organisation.

In some intranet/extranet cases we allow users to select their own landing page. What we have there is a little portlet sitting as part of the theme which is telling the user "select me as your landing page". Once user clicks on this link, current place id will be written to user's Custom Field called for example 'my_landing_page'.
This field will be used by the hook next time when user logs in.

There are (million + 1) options available for you with Liferay.