Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Tomas Polesovsky
Generic personalization
October 21, 2011 2:43 PM
Answer

Tomas Polesovsky

LIFERAY STAFF

Rank: Liferay Master

Posts: 645

Join Date: February 13, 2009

Recent Posts

Hi

It's few months I've got this idea I can't finish. So I'm leaving it to you to think of it, it's better than to wait for me emoticon

This week I've seen at European Symposium that Liferay plans to create personalization support for Asset Publisher.

My idea is: How to enable personalization to every portlet OOTB.

Simple solution: create rule-based profiles and allow each portlet to define portlet preferences for every profile (because initial portlet state - what the portlet displays - is defined by its preferences).

I've came to this solution (while thinking of Portlet preferences scope improvement)
1, Create profiles for users, based on personalization rules (every Site can have set of profiles that are described by rules, user is assigned to none or one profile at the time - based on these rules)
2, Implement possibility to specify portlet preferences for such every profile (somehow the UI of every portlet could offer admin to edit preferences for each profile)
3, Run portlet in context of this personalized portlet preferences (or default portlet preferences, if user doesn't belong to any profile)

To make it really useful there could be also method ThemeDisplay.getUserPersonalizationProfile() which returns name/id/object of the personalization profile of the current user.

I've also made a small prototype which loads preferences for portlet based on user profileId (see attached parts of Ext Plugin) and it works. But it's still just a prototype.

Thanks for any response.
Attachments: personalization-ext.zip (1.9k)
Hitoshi Ozawa
RE: Generic personalization
October 21, 2011 9:46 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Well, personalization on a user bases is a little bit outdated. I'm trying out on "personal roles" but I'm currently swamped with work.
The idea of "personal roles" goes one step beyond personalization. A user can have several personal roles based on the situation (context). For example, a user at work and at home can have different personalized roles.
Ravi Kumar Gupta
RE: Generic personalization
October 21, 2011 10:25 PM
Answer

Ravi Kumar Gupta

Rank: Liferay Legend

Posts: 1303

Join Date: June 23, 2009

Recent Posts

Hi Hitoshi,

Are you saying that - If a user is at home then he access Liferay then can see in a different way but the same user when opens LR at workplace then LR has a different view (after personalization.. )

Can you please describe in detail. It looks interesting and What's your approach?

-Ravi
Hitoshi Ozawa
RE: Generic personalization
October 21, 2011 10:52 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Yes. Furthermore, users should be able to choose their "personalities" too. :-)

I'm building a platform.
Ravi Kumar Gupta
RE: Generic personalization
October 21, 2011 11:00 PM
Answer

Ravi Kumar Gupta

Rank: Liferay Legend

Posts: 1303

Join Date: June 23, 2009

Recent Posts

Hmm.. looks great. All the best. Definitely want to see that in action.
Tomas Polesovsky
RE: Generic personalization
October 24, 2011 3:08 AM
Answer

Tomas Polesovsky

LIFERAY STAFF

Rank: Liferay Master

Posts: 645

Join Date: February 13, 2009

Recent Posts

Hi Hitoshi

I don't know if personalization is outdated or not, I know that it's used by customers and missing in the portal emoticon

Your idea is interesting for me in scope of social-oriented web. Are you going to make your platform public, I mean open source?
Hitoshi Ozawa
RE: Generic personalization
October 24, 2011 4:45 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

I'm trying to find a place where I can do actual development. The current company frowns upon it.
Timmy M.
RE: Generic personalization
October 26, 2011 4:43 AM
Answer

Timmy M.

Rank: Junior Member

Posts: 34

Join Date: March 2, 2010

Recent Posts

If you want to have personalization options, it really should be flexible enough. I've implemented this already a couple of times, in following forms:

1) Simplest: added a multi-selection list to each structure, which contained a 'profile' attribute on which was filtered
2) Added a rule engine to Liferay, and each Portlet could define the rule (based on user attributes or roles) in the PortletPreferences

It would be better if we could have a rule editor in which we can define the general rules, so that we can override these on a Portlet specific setting.
An online, realtime, editor for these rules would even be cooler.
Saurabh Gupta
RE: Generic personalization
March 4, 2013 10:08 PM
Answer

Saurabh Gupta

Rank: New Member

Posts: 23

Join Date: September 24, 2012

Recent Posts

Hi Tim,
i am creating the page dynamically and setting the some portlet on that page but this protlet should not be visible to Guest and it should be visible to some user based on specific Roles. how can i do this?

Thanks in advance for helping.