Most Commented and Most Rated Web Content report portlet inside control panel menu.

Hello Liferay Community, Welcome to my first blogs at Liferay Sites. This blog is for the generation of report of Web Content. If you have a web content display portlet and you have enabled the Comment and Rating stuff inside.

Steps: Click on Setting buttons of the created Web Content and move to configuration and enable all of this(Just check them): Enable Related Assets Enable Ratings Enable Comments Enable Comment Ratings Enable View Count Increment.

Now Development Starts:

Create Portlet : content-ratings-comments-portlet. Download the portlet code below attached, compile and deploy in your application server and ready to use.

 

Now traverse to Control Panel ---> Content ---> Below you will see new item added named as: Web Content Comments Rating Report. Click on it. You will see all of your web content list with number of comments and rating stuff and also by clicking on each web content, you can edit/modify publish as well.

 

Link: https://github.com/pbadhai/content-ratings-comments-portlet

Click here for Source Code

Thank You all. If you like this blog post, Please comment.

Regards

Pradeep