Foros de discusión
Unread flag for web content or asset
Ritabrata Mukherjee, modificado hace 10 años.
Unread flag for web content or asset
Junior Member Mensajes: 26 Fecha de incorporación: 3/03/09 Mensajes recientes
Hello,
Is it possible in Liferay to have a read/unread flag for web content or assets? For example, if user 1 clicks on say, a news item, then that news item will get marked as 'read' for that particular user. But, that same news item can stay marked as 'unread' (and displayed as unread) for other users. If this feature is not provided out-of-the-box, any advice on the best way to develop this ??
Thanks,
Rito
Is it possible in Liferay to have a read/unread flag for web content or assets? For example, if user 1 clicks on say, a news item, then that news item will get marked as 'read' for that particular user. But, that same news item can stay marked as 'unread' (and displayed as unread) for other users. If this feature is not provided out-of-the-box, any advice on the best way to develop this ??
Thanks,
Rito
Antoine Comble, modificado hace 10 años.
RE: Unread flag for web content or asset
Regular Member Mensajes: 232 Fecha de incorporación: 7/09/12 Mensajes recientes
Hi Ritabrata,
The portlet Announcements do what you want.
This portlet is concerned by 2 tables :
- announcements
- annoucements_flags
When a user mark announcement as read, an entry is added in announcement_flags table with userid and announcementid.
Maybe, you can see how is done and you inspire it.
Regards,
Antoine
The portlet Announcements do what you want.
This portlet is concerned by 2 tables :
- announcements
- annoucements_flags
When a user mark announcement as read, an entry is added in announcement_flags table with userid and announcementid.
Maybe, you can see how is done and you inspire it.
Regards,
Antoine
Ritabrata Mukherjee, modificado hace 10 años.
RE: Unread flag for web content or asset
Junior Member Mensajes: 26 Fecha de incorporación: 3/03/09 Mensajes recientes
Thanks for the tip Antoine. I will look into this portlet and let you know what I come up with.
Ritabrata Mukherjee, modificado hace 10 años.
RE: Unread flag for web content or asset
Junior Member Mensajes: 26 Fecha de incorporación: 3/03/09 Mensajes recientes
We were able to implement WCM read/unread flag using a custom content structure, extension was not required.
Nagendra Kumar Busam, modificado hace 10 años.
RE: Unread flag for web content or asset
Liferay Master Mensajes: 678 Fecha de incorporación: 7/07/09 Mensajes recientes
How does custom structure will work for all asset types (read/unread), brief details about your impl. will help community though.
Thanks.
Thanks.