Can you change the Content Ratings Widget/Page Ratings Widget's default "Star" selection when placed outside of a Collection Display?

Issue

  • The Content Ratings/Page Ratings Widgets are alterable by changing the configurations in Site Settings > Social.
  • When trying to change the configurations for a Content Ratings/Page Ratings Widget located outside of a Collection Display, it doesn't change the default "Star" to my selection. 

Environment

  • DXP 7.3

Resolution

  • Unfortunately, it is not possible to configure the Content Ratings/Page Ratings Widget by navigating to Settings > Social due to a lack of implementation of the feature. It is behaving as expected. 
  • A simple workaround is available and should help achieve your use case.
    • Follow the steps in this article, Implementing Rating Type Selection.
    • Create a new PortletRatingsDefinition for model com.liferay.portal.kernel.model.Layout and portletId com.liferay.ratings.page.ratings.constants.PageRatingsPortletKeys#PAGE_RATINGS and enable this option.

 

 

Was this article helpful?
0 out of 0 found this helpful