Hi guys, I’m looking to implement properly a favorite/like system where people can save content and people can see the amount of favorites each content has in umbraco.
Normally this information would be saved in a new table with a composite key of { ContentID, MemberID } and maybe an extra BOOL field that could be used for dislike too.
- Is this possible to do in Umbraco? Or will I have to settle for server generated primary key and non-refferencing ContentID, MemberID?
- Would it be possible to attatch
and access this info from IPublishedContent items? Need: A) total
likes B) If current user has liked or not - Should/could this info be
indexed using ExamineManager? - Would this be better to do by adding a custom property to a node then saving members that liked the content in a comma delimited fashion? IE: UsersWhoLiked = “1234,1235,1236” . If more than 50-100 people like each content this can get ugly pretty fast though..
Thanks in advance for any help and guidance.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/73827-implementing-a-favoritelike-system