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: 338, Comments: 40)
Foldable List (Rating: 205, Comments: 21)
Tabs (Rating: 157, Comments: 88)
Layout With Tables (Rating: 143, Comments: 91)
Adding A Site Logo (Rating: 108, Comments: 38)
Include Any Page (Rating: 107, Comments: 38)
Google Gadgets (Rating: 103, Comments: 27)
Extra Side Bar (Rating: 101, Comments: 8)
Automatic Sitemap (Rating: 100, Comments: 22)
Multicolumn Layout (Rating: 90, Comments: 26)

Most hated solutions:

Recently added:

练习的草稿文本(1145141919810) (Rating: 1, Comments: 1)
new cornify (Rating: 0, Comments: 0)
Text changes colors (Rating: 9, Comments: 0)
Column Layouts with CSS Grid (Rating: 2, Comments: 0)
测试页面SCP (Rating: 10, Comments: 3)
Do not try in life 2 (Rating: 0, Comments: 1)
Do not try in life (Rating: 2, Comments: 0)
Include Without iframe (Rating: 1, Comments: 0)
Table Of Contents (Rating: 4, Comments: 1)

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


Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by michal frackowiak

MyBlogLog recent visitors - 06 Jun 2021 04:03
Include Any Page - 06 Jun 2021 03:20
Babelfish Translation - 06 Jun 2021 03:14
Collapsible Text Block - 02 Dec 2020 10:24
Todo List - 18 Aug 2014 15:28
Multicolumn Layout - 17 Dec 2012 19:51
Zoho Writer - 16 Feb 2012 01:57
Zoho Sheet - 16 Feb 2012 01:56
Zoho Show - 16 Feb 2012 01:55
Zoho Polls - 16 Feb 2012 01:53
WoW Tooltips - 16 Feb 2012 01:52
Widgetbox Panel - 16 Feb 2012 01:52
Video from Revver - 16 Feb 2012 01:50
Tabs - 16 Feb 2012 01:45
Standalone Page Buttons - 16 Feb 2012 01:44
Social Bookmarking - 16 Feb 2012 01:42
Simple Gallery - 16 Feb 2012 01:41
Remember The Milk Todo - 16 Feb 2012 01:39
Recent Changes (mini) - 16 Feb 2012 01:36
Quimble Poll - 16 Feb 2012 01:33
Quikmaps Maps - 16 Feb 2012 01:33
Photobucket Widget - 16 Feb 2012 01:29
Page Previews (Snap.com) - 16 Feb 2012 01:29
Pabpixies Gadgets - 16 Feb 2012 01:28
Meebo me - 16 Feb 2012 01:20
Layout With Tables - 16 Feb 2012 01:19
Instacalc - 16 Feb 2012 01:12
Import the Digg Feed - 16 Feb 2012 01:11
Import a News Feed - 16 Feb 2012 01:10
Google Gadgets - 16 Feb 2012 01:05
Gabbly chat - 16 Feb 2012 01:02
Forum Summary for the Front Page - 16 Feb 2012 01:02
Footnotes - 16 Feb 2012 01:01
Foldable List - 16 Feb 2012 01:01
Flickr Images By Tags - 16 Feb 2012 01:00
Feedburner - 15 Feb 2012 00:53
Extra Side Bar - 15 Feb 2012 00:51
Embed Code From Other Services - 15 Feb 2012 00:50
EditGrid Spreadsheets - 15 Feb 2012 00:49
Cornify - 15 Feb 2012 00:39
Compact Feed Display - 15 Feb 2012 00:35
Center Video - 15 Feb 2012 00:28
Bibliography/Footnotes/Comments Listed in TOC - 15 Feb 2012 00:26
Automatic Sitemap - 15 Feb 2012 00:25
Alexa traffic ratings - 15 Feb 2012 00:23
3d tagcloud - 15 Feb 2012 00:22


Rate this solution

If you think this solution is useful — rate it up!

rating: +23+x
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License