SharePoint 2010 Social Ratings – Part 2

In Part 1, we have seen how to use the SharePoint 2010 Social ratings in lists. In this post we will try to change the SharePoint ratings icons to custom icons. In SharePoint 2010 classic five star has been used for the ratings, and these image path are stored in the Site properties.

Below list shows the properties and the image icons.
image
In order to change the icons, we need to edit these properties with the new image icons. For that we need little help from the graphics team or knowledge of image editing software to create new rating icons. Make sure the images are matching exact size specifications as the original.
Below are the four images which I have created.
MyRatingsNew
MyRatingsrtl 
MyRatings
MyRatingsEmpty
We will upload the new images, to site assets or any other site library. Next, we will use SharePoint designer 2010 to edit the site properties to reflect the new image icon path.
  • Open the site in SharePoint Designer 2010
  • Click the site options from the ribbon menu
image
  • Rename the existing properties as below, to be used to when the default icons has to be reverted.
  • Create new properties as mentioned below, with the path where the new icons were uploaded.

image

We need to perform an IISRESET or app pool recycle, after completing the above items to the new icons to get in effect. It will look like below after the changes are made. I was not able to capture the hover effect on the screen grab. Need to capture it on the screen cast I think. Anyways Isn’t it cool?

image

Comments

Post a Comment