Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Tomas Polesovsky
Generic personalization
21 de octubre de 2011 14:43
Respuesta

Tomas Polesovsky

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 586

Fecha de incorporación: 13 de febrero de 2009

Mensajes recientes

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.
archivos adjuntos: personalization-ext.zip (1,9k)
Hitoshi Ozawa
RE: Generic personalization
21 de octubre de 2011 21:46
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7954

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

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
21 de octubre de 2011 22:25
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1211

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

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
21 de octubre de 2011 22:52
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7954

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

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

I'm building a platform.
Ravi Kumar Gupta
RE: Generic personalization
21 de octubre de 2011 23:00
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1211

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

Hmm.. looks great. All the best. Definitely want to see that in action.
Tomas Polesovsky
RE: Generic personalization
24 de octubre de 2011 3:08
Respuesta

Tomas Polesovsky

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 586

Fecha de incorporación: 13 de febrero de 2009

Mensajes recientes

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
24 de octubre de 2011 4:45
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7954

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

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

Timmy M.

Ranking: Junior Member

Mensajes: 34

Fecha de incorporación: 2 de marzo de 2010

Mensajes recientes

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
4 de marzo de 2013 22:08
Respuesta

Saurabh Gupta

Ranking: New Member

Mensajes: 23

Fecha de incorporación: 24 de septiembre de 2012

Mensajes recientes

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.