3.12. Rating

Top  Previous  Next

Ratings

The possibility for the registered users to rate the listings
The rating is counted as an average from all votes.
A user can vote several times, but only the last vote is considered.
To rate the listing, just press on one of 5 stars. For example, clicking on star #4 means to put it 4.
Ratings are displayed on the search results page and on listing details page.
Administrator can set the rating and the number of votes by himself in the Admin Panel.

Requirements for Rating field

User Page /rate_listing/:
oURI: /rate_listing/
oModule: classifieds
oFunction rate_listing
The property of Rating type in Listing fields or in Listing types.
The display on the following pages: listing details page (classifieds/listing_details.tpl template) and search results page (classifieds/search_results.tpl template).

The display of rating in the search results

rating_in_search_results

On the Search Results page rating is displayed as an image of 5 stars and the following text: rating 0.00 from 0 votes

The display of rating in the listing details

rating_in_listing_details

On the listing details page the rating is displayed in the same way as on the search results. Here you may vote for the listing by clicking on the corresponding star.