Rating Summary

By michal frackowiakmichal frackowiak

Description

After you enable rating for selected categories you might want to display a short summary on your front page. Here is an example how to do this:

Code

++ Top rated solutions:
[[module RatedPages limit="10" category="code" comments="true" minRating="1"]]

++ Most hated solutions:
[[module RatedPages limit="10" category="code" comments="true" order="rating-asc" maxRating="-1"]]

++ Recently added:
[[module RatedPages limit="10" category="code" comments="true" order="date-created-desc"]]

In action

Top rated solutions:

Collapsible Text Block (rating: 203, comments: 22)
Foldable List (rating: 180, comments: 11)
Tabs (rating: 102, comments: 45)
Layout With Tables (rating: 101, comments: 72)
Google Gadgets (rating: 90, comments: 24)
Automatic Sitemap (rating: 88, comments: 19)
Include Any Page (rating: 87, comments: 30)
Extra Side Bar (rating: 82, comments: 7)
Multicolumn Layout (rating: 73, comments: 8)
Adding A Site Logo (rating: 72, comments: 24)

Most hated solutions:

Recently added:

Spoiler tags (rating: 1, comments: 1)
iframe embed (rating: 6, comments: 6)
Remove duplicate results (rating: 5, comments: 2)
Video Player (rating: 3, comments: 1)
MP3 Player (rating: 6, comments: 0)
iframe redirect (rating: 2, comments: 2)
Quotes in blockquotes (rating: 7, comments: 3)
TOC's from many pages (rating: 1, comments: 1)
jamendo widgets (rating: 0, comments: 0)
How to format wikidot pages using HTML (rating: 0, comments: 3)

Of course you should change the "category" attribute to match your needs.

Rate this solution

If you think this solution is useful — rate it up! Or dump it otherwise.

rating: +16+x
Add a new comment
Page tags: frontpage rating
page_revision: 3, last_edited: 1217321441|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License