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:
Foldable List
(rating: 166, comments: 9)
Collapsible Text Block
(rating: 155, comments: 18)
Extra Side Bar
(rating: 71, comments: 6)
Google Gadgets
(rating: 70, comments: 14)
Automatic Sitemap
(rating: 67, comments: 12)
Include Any Page
(rating: 64, comments: 6)
Tabs
(rating: 63, comments: 25)
Adding A Site Logo
(rating: 55, comments: 15)
Layout With Tables
(rating: 53, comments: 31)
Multicolumn Layout
(rating: 53, comments: 8)
Most hated solutions:
Recently added:
Top Nav Menu with ListPages
(rating: 1, comments: 0)
Custom Toolbar Separators
(rating: 1, comments: 0)
deleted-20080817-01
(rating: 0, comments: 0)
ListPages: Horizontal?
(rating: 4, comments: 1)
Alexa traffic ratings
(rating: 2, comments: 0)
Flickr Video
(rating: 1, comments: 0)
Ohloh
(rating: 0, comments: 0)
Vimeo
(rating: 1, comments: 0)
Picasaweb
(rating: 0, comments: 0)
Js Kit Ratings
(rating: 3, comments: 0)
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.
page_revision: 3, last_edited: 1217321441|%e %b %Y, %H:%M %Z (%O ago)





Comments