Click here to Skip to main content
15,889,612 members
Articles / Productivity Apps and Services / Sharepoint / SharePoint 2010

SharePoint 2010 Social Ratings – Part 2

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
31 Oct 2011CPOL1 min read 5.4K  
Social Ratings in SharePoint 2010

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 paths are stored in the Site properties.

The 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 when the default icons have 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

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
I'm interested in C#, AJAX, SilverLight,and SharePoint now. I enjoy listening to music, movies, driving.
I love posting answers to forums, especially questions related to SharePoint Technology. Started career as c++ developer, then .Net Mobile Technologies and SharePoint now.

Comments and Discussions

 
-- There are no messages in this forum --