Rating Summary
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: 212, comments: 22)
Foldable List
(rating: 181, comments: 11)
Layout With Tables
(rating: 105, comments: 72)
Tabs
(rating: 105, comments: 45)
Google Gadgets
(rating: 90, comments: 24)
Include Any Page
(rating: 90, comments: 30)
Automatic Sitemap
(rating: 88, comments: 19)
Extra Side Bar
(rating: 84, comments: 8)
Multicolumn Layout
(rating: 74, comments: 8)
Adding A Site Logo
(rating: 72, comments: 30)
Most hated solutions:
Recently added:
Remove duplicate results — Appended Code
(rating: 0, comments: 0)
CSI Cross site includes
(rating: 4, comments: 3)
Spoiler tags
(rating: 4, comments: 6)
iframe embed
(rating: 9, comments: 10)
Remove duplicate results
(rating: 5, comments: 2)
Video Player
(rating: 3, comments: 1)
MP3 Player
(rating: 18, comments: 2)
iframe redirect
(rating: 2, comments: 2)
Quotes in blockquotes
(rating: 7, comments: 3)
TOC's from many pages
(rating: 1, comments: 1)
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.
Add a new comment
page_revision: 3, last_edited: 1217321441|%e %b %Y, %H:%M %Z (%O ago)





